mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[BE] Enable flake8-comprehension rule C417 (#97880)
Enables flake8-comprehension rule C417. Ruff autogenerated these fixes to the codebase. Pull Request resolved: https://github.com/pytorch/pytorch/pull/97880 Approved by: https://github.com/ezyang, https://github.com/kit1980, https://github.com/albanD
This commit is contained in:
committed by
PyTorch MergeBot
parent
1d08b5b103
commit
47dca20d80
2
.flake8
2
.flake8
@ -14,7 +14,7 @@ ignore =
|
||||
# these ignores are from flake8-bugbear; please fix!
|
||||
B007,B008,B017,B019,B020,B023,B024,B026,B027,B028,B903,B904,B905,B906,B907
|
||||
# these ignores are from flake8-comprehensions; please fix!
|
||||
C407,C417
|
||||
C407
|
||||
# these ignores are from flake8-logging-format; please fix!
|
||||
G001,G002,G003,G004,G100,G101,G200,G201,G202
|
||||
per-file-ignores =
|
||||
|
Reference in New Issue
Block a user