[BE]: Update ruff to 0.4.8 (#128214)

Updates ruff to 0.4.8. Some minor fixes, but noticably is 10% faster on microbenchmark and should further reduce local and CI runtime of the linter. Also includes a few bugfixes.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/128214
Approved by: https://github.com/ezyang
This commit is contained in:
Aaron Gokaslan
2024-06-07 18:41:32 +00:00
committed by PyTorch MergeBot
parent 8ca4cefc7d
commit cafbcb6376

View File

@ -2079,7 +2079,7 @@ init_command = [
'python3',
'tools/linter/adapters/pip_init.py',
'--dry-run={{DRYRUN}}',
'ruff==0.4.6',
'ruff==0.4.8',
]
is_formatter = true