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:
Edward Z. Yang
2023-04-11 09:28:49 -04:00
committed by PyTorch MergeBot
parent 15686950b7
commit 97a756f57d

View File

@ -16,7 +16,7 @@ ignore =
# these ignores are from flake8-comprehensions; please fix!
C407
# 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
SIM105,SIM108,SIM109,SIM110,SIM111,SIM113,SIM114,SIM115,SIM116,SIM117,SIM118,SIM119,SIM12,
# flake8-simplify code styles