[EZ] Perma-ignore UP038 (#163649)

As it has been removed, see https://docs.astral.sh/ruff/rules/non-pep604-isinstance/
Pull Request resolved: https://github.com/pytorch/pytorch/pull/163649
Approved by: https://github.com/Skylion007
ghstack dependencies: #163648
This commit is contained in:
Nikita Shulga
2025-09-23 10:55:04 -07:00
committed by PyTorch MergeBot
parent ca35dc2fdd
commit 0696a4b0b8

View File

@ -182,13 +182,13 @@ ignore = [
"SIM117", "SIM117",
"SIM118", "SIM118",
"UP007", # keep-runtime-typing "UP007", # keep-runtime-typing
"UP038", # Was removed from newer versions, results in slower code
"UP045", # keep-runtime-typing "UP045", # keep-runtime-typing
"TC006", "TC006",
# TODO: Remove Python-3.10 specific suppressions # TODO: Remove Python-3.10 specific suppressions
"B905", "B905",
"UP035", "UP035",
"UP036", "UP036",
"UP038",
"FURB161", "FURB161",
] ]
select = [ select = [