Skip to content

Commit 332ef2d

Browse files
committed
Update configuration for ruff
This makes it behave better with newer ruff versions, and removes the unused isort configuration.
1 parent f3d9e2f commit 332ef2d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ Source = "https://github.com/pypa/pyproject-hooks"
2222
Documentation = "https://pyproject-hooks.readthedocs.io/"
2323
Changelog = "https://pyproject-hooks.readthedocs.io/en/latest/changelog.html"
2424

25-
[tool.isort]
26-
profile = "black"
25+
[tool.ruff]
26+
src = ["src", "tests"]
27+
28+
[tool.ruff.isort]
29+
known-first-party = ["pyproject_hooks", "tests"]

0 commit comments

Comments
 (0)