Skip to content

Commit

Permalink
ci: Run flake8 in addition to black
Browse files Browse the repository at this point in the history
black is a formatter while flake8 is a linter. Both are good to use.
  • Loading branch information
dbnicholson committed Apr 25, 2024
1 parent dd676fc commit a9a32e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
run: |
python3 -m black --check --diff .
- name: Run flake8
run: |
python3 -m flake8
check-typing:
name: Static type check
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions dependencies.apt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python3-brotli
python3-cairo
python3-chardet
python3-editorconfig
python3-flake8
python3-gi
python3-github
python3-jsonschema
Expand Down

0 comments on commit a9a32e1

Please sign in to comment.