Skip to content

Commit

Permalink
isort take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Sep 13, 2024
1 parent 09b5ee8 commit 612e077
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 0c4df0a
_commit: 711106c
_src_path: .
add_extension: python
email: [email protected]
Expand Down
11 changes: 4 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,14 @@ testpaths = "python_template/tests"
[tool.ruff]
line-length = 150

[tool.ruff.lint]
extend-select = ["I"]

[tool.ruff.lint.isort]
combine-as-imports = true
default-section = "third-party"
known-first-party = ["python_template"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]

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

0 comments on commit 612e077

Please sign in to comment.