Skip to content

Commit

Permalink
[BE] Update flake8-comprehensions to 3.11.1 (pytorch#97671)
Browse files Browse the repository at this point in the history
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: pytorch#97671
Approved by: https://github.com/ezyang, https://github.com/malfet
  • Loading branch information
Skylion007 authored and pytorchmergebot committed Mar 27, 2023
1 parent 4d26113 commit fcc312e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion .lintrunner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ init_command = [
'--dry-run={{DRYRUN}}',
'flake8==3.8.2',
'flake8-bugbear==20.1.4',
'flake8-comprehensions==3.3.0',
'flake8-comprehensions==3.11.1',
'flake8-executable==2.0.4',
'flake8-logging-format==0.9.0',
'flake8-pyi==20.5.0',
Expand Down

0 comments on commit fcc312e

Please sign in to comment.