Skip to content

Commit

Permalink
CI: more flake8 checks
Browse files Browse the repository at this point in the history
This changes the flake8 configuration so that it is roughly equivalent
to the one for the Yoda ruleset.
  • Loading branch information
stsnel committed Apr 12, 2024
1 parent ce50817 commit cdfd874
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Lint with flake8
run: |
pip install flake8
flake8 yclienttools --select=E999,F63,F7,F82,F831
pip install flake8==6.1.0
flake8 . --statistics
- name: Run unit tests
run: |
Expand Down
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[flake8]
ignore=E221,E241,E402,E501,W503,W605,F403,F405
import-order-style=smarkets
strictness=short
docstring_style=sphinx
max-line-length=127
exclude=irodsutils

0 comments on commit cdfd874

Please sign in to comment.