Skip to content

Commit

Permalink
Disable ruff/pyupgrade rule UP038
Browse files Browse the repository at this point in the history
Using `X | Y` in `isinstance` is slower and more verbose
  • Loading branch information
DimitriPapadopoulos committed Sep 27, 2024
1 parent 0bec280 commit 51bdba8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ ignore = [
"RET505",
"RET508",
"SIM108",
"UP038", # https://github.com/astral-sh/ruff/issues/7871
]

[tool.ruff.lint.extend-per-file-ignores]
Expand Down

0 comments on commit 51bdba8

Please sign in to comment.