Skip to content

Commit

Permalink
Disable ruff/pyupgrade deprecated rule UP027
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 29, 2024
1 parent 32f9b56 commit 146c3d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ignore = [
"TRY003", # raise-vanilla-args, avoid multitude of exception classes
"TRY301", # raise-within-try, it's handy
"UP015", # redundant-open-modes, explicit is preferred
"UP027", # deprecated https://github.com/astral-sh/ruff/pull/12843
"UP038", # Using `X | Y` in `isinstance` call is slower and more verbose https://github.com/astral-sh/ruff/issues/7871
# Only enforcing return type annotations for public functions
"ANN202", # missing-return-type-private-function
Expand Down

0 comments on commit 146c3d1

Please sign in to comment.