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:
John Bytheway 2021-03-31 02:56:36 -04:00 committed by GitHub
parent 7617633db6
commit 23c1bf91f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

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