Skip to content

Commit 6281ba4

Browse files
committed
correct ruff rules for later versions
1 parent 933cccf commit 6281ba4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ dev = ["ruff", "pyright", "isort"]
6464

6565
[tool.ruff]
6666
line-length = 125
67+
target-version = "py311"
6768
indent-width = 4
6869
exclude = ["venv", "docs", "examples"]
6970

70-
7171
[tool.ruff.lint]
7272
select = [
7373
"C4",
@@ -78,7 +78,7 @@ select = [
7878
"PTH",
7979
"RUF",
8080
"SIM",
81-
"TCH",
81+
"TC",
8282
"UP",
8383
"W",
8484
"PERF",
@@ -97,7 +97,7 @@ ignore = [
9797
"ANN401",
9898
"UP031",
9999
"PTH123",
100-
"E203",
100+
"E203",
101101
"E501",
102102
]
103103

0 commit comments

Comments
 (0)