Skip to content

Commit

Permalink
* fix setup.cfg for flake8 v6 parsing;
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton committed Jun 14, 2024
1 parent debd042 commit 5865d74
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,24 @@ max-line-length = 80
max-complexity = 10
ignore =
# replaced by B950 (max-line-length + 10%)
E501, # max-line-length
# max-line-length
E501,
# ignored because pytorch uses dict
C408, # use {} instead of dict()
# use {} instead of dict()
C408,
# Not Black-compatible
E203, # whitespace before :
E231, # missing whitespace after ','
W291, # trailing whitespace
W503, # line break before binary operator
W504, # line break after binary operator
B905, # `zip()` without an explicit `strict=` parameter
# whitespace before :
E203,
# missing whitespace after ','
E231,
# trailing whitespace
W291,
# line break before binary operator
W503,
# line break after binary operator
W504,
# `zip()` without an explicit `strict=` parameter
B905,
exclude = docs, docs_src, build, .git, .eggs

[isort]
Expand Down

0 comments on commit 5865d74

Please sign in to comment.