Skip to content

Commit

Permalink
Use flake8 file
Browse files Browse the repository at this point in the history
  • Loading branch information
misery committed Jul 8, 2024
1 parent b67c3b0 commit 78b8fc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 79
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics
# exit-zero treats all errors as warnings.
flake8 . --count --exit-zero --max-complexity=15 --max-line-length=79 --statistics
flake8 . --count --exit-zero --statistics
- name: Installation
run: |
python -m build --wheel --no-isolation

0 comments on commit 78b8fc6

Please sign in to comment.