Skip to content

Commit

Permalink
Partial isort in ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Siecje committed Jan 18, 2024
1 parent 79248b7 commit 8a5d446
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Issues = "https://github.com/siecje/htmd/issues"
Repository = "https://github.com/siecje/htmd.git"

[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D100", "D103", "D104", "D203", "D211", "D212", "D213",
"INP001",
Expand All @@ -51,6 +50,7 @@ ignore = [
"UP015",
"ANN", "PTH", "I",
]
select = ["ALL"]

[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
Expand All @@ -59,6 +59,13 @@ multiline-quotes = "single"
[tool.ruff.format]
quote-style = "single"

[tool.ruff.lint.isort]
force-sort-within-sections = true
known-third-party = ["htmd"]
lines-after-imports = 2
order-by-type = false
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]

[tool.setuptools]
include-package-data = true

Expand Down

0 comments on commit 8a5d446

Please sign in to comment.