Revert "Update ruff to 0.13.1 (#163744)"

This reverts commit 3dd89a079f2b0c1d39351f98ff5d5ca882523152.

Reverted https://github.com/pytorch/pytorch/pull/163744 on behalf of https://github.com/malfet due to Broke lint, see https://github.com/pytorch/pytorch/actions/runs/18016220484/job/51261729375 looks like a landrace with PR that updated min-version to 3.10 ([comment](https://github.com/pytorch/pytorch/pull/163744#issuecomment-3335534084))
This commit is contained in:
PyTorch MergeBot
2025-09-25 18:54:03 +00:00
parent 151e66e50d
commit 7bad9c5a64
8 changed files with 13 additions and 12 deletions

View File

@ -182,6 +182,7 @@ ignore = [
"SIM117",
"SIM118",
"UP007", # keep-runtime-typing
"UP038", # Was removed from newer versions, results in slower code
"UP045", # keep-runtime-typing
"TC006",
# TODO: Remove Python-3.10 specific suppressions