Triage Flake8 E265 (#48284)
* Triage Flake8 E265 Decide not to enable Flake8 E265 because it prevents us keeping commented-out debug print messages. Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
This commit is contained in:
parent
7617633db6
commit
23c1bf91f0
7
.flake8
7
.flake8
|
@ -1,9 +1,10 @@
|
|||
[flake8]
|
||||
exclude = .git,__pycache__,lang/json
|
||||
ignore =
|
||||
# The following errors were present when starting to use flake8; they need
|
||||
# to be triaged to determine which we should fix and which we should leave
|
||||
# permanently ignored
|
||||
# E265 forces comments to have a space after the '#'. We have a bunch of
|
||||
# optional debugging code commented out this way, and not having a space is
|
||||
# a convenient way to distinguish it from proper comments. Maybe we should
|
||||
# delete that code, but unless that happens leaving E265 disabled.
|
||||
E265,
|
||||
# W503 and W504 require line breaks after or before binary operators; you
|
||||
# can only have one enabled
|
||||
|
|
Loading…
Reference in New Issue