flake8: apply W rules (prefering W503)

This commit is contained in:
Yuming Zhu 2020-02-27 23:11:49 +08:00
parent c5db34a8e1
commit 2a2c5cb729
8 changed files with 35 additions and 31 deletions

10
.flake8
View file

@ -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,