Skip to content

Commit

Permalink
Add pyupgrade rules to ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Nov 22, 2023
1 parent 4f6449f commit 7e986ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
extend-select = [
"UP", # pyupgrade
]
extend-ignore = [
"UP015", # redundant-open-modes, explicit is prefered
"UP030", # temporarily disabled
"UP031", # temporarily disabled
"UP032", # temporarily disabled
"UP036", # temporarily disabled
]
extend-exclude = [
"**/_vendor",
"setuptools/_distutils",
]

0 comments on commit 7e986ee

Please sign in to comment.