Skip to content

Commit 392002f

Browse files
committed
Ruff sorts imports
1 parent e909df4 commit 392002f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ line-length = 100
44
# Assume Python 3.10
55
target-version = "py310"
66

7+
[tool.ruff.lint]
8+
select = ["I"] # Enable import sorting rules
9+
10+
[tool.ruff.isort]
11+
combine-as-imports = false
12+
force-sort-within-sections = true
13+
order-by-type = false
14+
lines-between-sections = 1
15+
force-single-line = false
16+
717
[tool.pyright]
818
include = ["bin"]
919
exclude = ["bin/misc"]

0 commit comments

Comments
 (0)