Skip to content

Commit

Permalink
Fewer warnings from flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
tbooth committed Dec 18, 2024
1 parent 77700dd commit bac8c30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
# also I'm fussy about some whitespace errors
flake8 . --count --select=E9,F63,F7,F82,W191 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# disable some whitespace warnings as I do these deliberately
flake8 . --count --ignore=E201,E202,E251 \
--exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with run_tests.sh
run: |
export RUN_NETWORK_TESTS=0
Expand Down

0 comments on commit bac8c30

Please sign in to comment.