Skip to content

Commit c9145e7

Browse files
committed
Upgrade ruff config
1 parent 1ca414d commit c9145e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ addopts = """
6363
DJANGO_SETTINGS_MODULE = "testapp.settings"
6464

6565
[tool.ruff]
66+
target-version = "py38"
67+
68+
[tool.ruff.lint]
6669
select = [
6770
"E",
6871
"F",
@@ -96,9 +99,8 @@ select = [
9699
"PLE",
97100
"RUF",
98101
]
99-
target-version = "py38"
100102

101-
[tool.ruff.isort]
103+
[tool.ruff.lint.isort]
102104
force-single-line = true
103105

104106
[tool.setuptools]

0 commit comments

Comments
 (0)