Skip to content

Commit

Permalink
deeper, less complex lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolinmorgan committed Dec 27, 2023
1 parent fa9a7c1 commit e4a7879
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions bin/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ set -ex
flake8 --version

# Quick syntax errors
flake8 \
cu_cat \
--count \
--select=E9,F63,F7,F82 \
--ignore=F821,E999 \
--show-source \
--statistics
# flake8 \
# cu_cat \
# --count \
# --select=E9,F63,F7,F82 \
# --ignore=F821,E999 \
# --show-source \
# --statistics

# Deeper check
flake8 \
cu_cat \
--count \
--select=E9,F63,F7,F82 \
--ignore=C901,E121,E122,E123,E124,E125,E128,E131,E144,E201,E202,E203,E231,E251,E265,E301,E302,E303,E401,E501,E722,F401,W291,W293,F821,E999 \
--max-complexity=10 \
--max-complexity=2 \
--max-line-length=127 \
--show-source \
--statistics

0 comments on commit e4a7879

Please sign in to comment.