mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[BE]: Enable ruff LOG checks (#120674)
Enable LOG error codes in ruff to find bad usages of the logger: https://docs.astral.sh/ruff/rules/#flake8-logging-log Pull Request resolved: https://github.com/pytorch/pytorch/pull/120674 Approved by: https://github.com/ezyang
This commit is contained in:
committed by
PyTorch MergeBot
parent
b6139b1e57
commit
5a5b654481
@ -80,6 +80,7 @@ select = [
|
||||
"SIM1",
|
||||
"W",
|
||||
# Not included in flake8
|
||||
"LOG",
|
||||
"NPY",
|
||||
"PERF",
|
||||
"PGH004",
|
||||
|
Reference in New Issue
Block a user