Skip to content

Commit

Permalink
fix flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
svirpioj committed May 25, 2021
1 parent 31d0d4d commit 13be789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 opusfilter --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 opusfilter --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 opusfilter --count --exit-zero --statistics
- name: Run tests with pytest
run: pytest
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[flake8]
max-line-length = 127
max-complexity = 18

0 comments on commit 13be789

Please sign in to comment.