mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Enable G004 lint check (#98843)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/98843 Approved by: https://github.com/janeyx99, https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
15686950b7
commit
97a756f57d
2
.flake8
2
.flake8
@ -16,7 +16,7 @@ ignore =
|
|||||||
# these ignores are from flake8-comprehensions; please fix!
|
# these ignores are from flake8-comprehensions; please fix!
|
||||||
C407
|
C407
|
||||||
# these ignores are from flake8-logging-format; please fix!
|
# these ignores are from flake8-logging-format; please fix!
|
||||||
G004,G100,G101,G200,G201,G202
|
G100,G101,G200,G201,G202
|
||||||
# these ignores are from flake8-simplify. please fix or ignore with commented reason
|
# these ignores are from flake8-simplify. please fix or ignore with commented reason
|
||||||
SIM105,SIM108,SIM109,SIM110,SIM111,SIM113,SIM114,SIM115,SIM116,SIM117,SIM118,SIM119,SIM12,
|
SIM105,SIM108,SIM109,SIM110,SIM111,SIM113,SIM114,SIM115,SIM116,SIM117,SIM118,SIM119,SIM12,
|
||||||
# flake8-simplify code styles
|
# flake8-simplify code styles
|
||||||
|
Reference in New Issue
Block a user