Skip to content

Commit 0696a4b

Browse files
malfetpytorchmergebot
authored andcommitted
[EZ] Perma-ignore UP038 (pytorch#163649)
As it has been removed, see https://docs.astral.sh/ruff/rules/non-pep604-isinstance/ Pull Request resolved: pytorch#163649 Approved by: https://github.com/Skylion007 ghstack dependencies: pytorch#163648
1 parent ca35dc2 commit 0696a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,13 @@ ignore = [
182182
"SIM117",
183183
"SIM118",
184184
"UP007", # keep-runtime-typing
185+
"UP038", # Was removed from newer versions, results in slower code
185186
"UP045", # keep-runtime-typing
186187
"TC006",
187188
# TODO: Remove Python-3.10 specific suppressions
188189
"B905",
189190
"UP035",
190191
"UP036",
191-
"UP038",
192192
"FURB161",
193193
]
194194
select = [

0 commit comments

Comments
 (0)