Skip to content

Commit 612e077

Browse files
committed
isort take 2
1 parent 09b5ee8 commit 612e077

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 0c4df0a
2+
_commit: 711106c
33
_src_path: .
44
add_extension: python
55

pyproject.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,14 @@ testpaths = "python_template/tests"
105105
[tool.ruff]
106106
line-length = 150
107107

108+
[tool.ruff.lint]
109+
extend-select = ["I"]
110+
108111
[tool.ruff.lint.isort]
109112
combine-as-imports = true
110113
default-section = "third-party"
111114
known-first-party = ["python_template"]
112-
section-order = [
113-
"future",
114-
"standard-library",
115-
"third-party",
116-
"first-party",
117-
"local-folder",
118-
]
115+
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
119116

120117
[tool.ruff.lint.per-file-ignores]
121118
"__init__.py" = ["F401"]

0 commit comments

Comments
 (0)