Skip to content

Commit 7e986ee

Browse files
Add pyupgrade rules to ruff config
1 parent 4f6449f commit 7e986ee

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ruff.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
extend-select = [
2+
"UP", # pyupgrade
3+
]
4+
extend-ignore = [
5+
"UP015", # redundant-open-modes, explicit is prefered
6+
"UP030", # temporarily disabled
7+
"UP031", # temporarily disabled
8+
"UP032", # temporarily disabled
9+
"UP036", # temporarily disabled
10+
]
11+
extend-exclude = [
12+
"**/_vendor",
13+
"setuptools/_distutils",
14+
]

0 commit comments

Comments
 (0)