Skip to content

Commit

Permalink
.github: Allow F821 errors
Browse files Browse the repository at this point in the history
flake8 doesn't understand when symbols are added to  `globals()`.
  • Loading branch information
jsok committed Sep 20, 2021
1 parent 666a05d commit 342642f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --select=E9,F63,F7 --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
- name: Test with pytest
Expand Down

0 comments on commit 342642f

Please sign in to comment.