flake8: apply W rules (prefering W503)
This commit is contained in:
parent
c5db34a8e1
commit
2a2c5cb729
8 changed files with 35 additions and 31 deletions
10
.flake8
10
.flake8
|
|
@ -1,6 +1,12 @@
|
|||
[flake8]
|
||||
select = I,C,F,E
|
||||
ignore = E266,E731
|
||||
select = E,F,W,C,I
|
||||
ignore =
|
||||
# too many leading ‘#’ for block comment
|
||||
E266,
|
||||
# do not assign a lambda expression, use a def
|
||||
E731,
|
||||
# line break after binary operator
|
||||
W504
|
||||
max_line_length = 99
|
||||
exclude =
|
||||
.git,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue