[BE] Update flake8-comprehensions to 3.11.1 (#97671)

Updates flake8-comprehensions in lintrunner so we can enforce new checks that have been implemented since the last update (including one implemented by me). I also added C417 to the flake8 ignore codes for now since we do not yet conform to that check.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/97671
Approved by: https://github.com/ezyang, https://github.com/malfet
This commit is contained in:
Aaron Gokaslan
2023-03-27 18:07:33 +00:00
committed by PyTorch MergeBot
parent 4d2611375b
commit fcc312e945
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ ignore =
# these ignores are from flake8-bugbear; please fix!
B007,B008,
# these ignores are from flake8-comprehensions; please fix!
C407
C407,C417
# these ignores are from flake8-logging-format; please fix!
G001,G002,G003,G004,G100,G101,G200,G201,G202
per-file-ignores =