Skip to content

Commit

Permalink
add github Lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedongPeng committed May 7, 2024
1 parent 2d2ba08 commit 99d74e7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
name: lint/style-and-typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Black Formatting Check
uses: psf/black@stable
with:
args: . -S -C --check --diff
- name: Spell Check
uses: crate-ci/typos@master

0 comments on commit 99d74e7

Please sign in to comment.