Skip to content

Commit 20554e4

Browse files
committed
simply extend flake8 runs in github actions to cover the whole repo but with additional excludes for now. Follow-up pending in with 'make lint' target and dependency set up there to keep code details in github actions minimal.
1 parent 9080d6f commit 20554e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-sanity-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
# TODO: fix unittest dir and remove from excludes
3939
# TODO: fix or migrate legacy grsfs-fuse dir and remove from excludes
4040
# stop the build if there are Python syntax errors or undefined names
41-
flake8 mig --exclude=unittest,grsfs-fuse,irclib.py,seafile-seahub_settings-template.py --count --select=E9,F63,F7,F82 --show-source --statistics
41+
flake8 . --exclude=state,envhelp,fixture,output,unittest,grsfs-fuse,irclib.py,seafile-seahub_settings-template.py --count --select=E9,F63,F7,F82 --show-source --statistics
4242
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
43-
flake8 mig --exclude=unittest,grsfs-fuse,vm-proxy,irclib.py,seafile-seahub_settings-template.py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
43+
flake8 . --exclude=state,envhelp,fixture,output,unittest,grsfs-fuse,vm-proxy,irclib.py,seafile-seahub_settings-template.py --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4444
# NOTE: for interactive clean up one can use current ignores
4545
# E501 Ignore long lines, E402 imports below top, E722 bare except,
4646
# F401 unused imports, F502 explicit list in str expand, F841 unused var,

0 commit comments

Comments
 (0)