Skip to content

Commit

Permalink
Enable isort in ruff
Browse files Browse the repository at this point in the history
It doesn't detect utils.py in tests as a local file.
Ignoring sort order in those two files for now
  • Loading branch information
Siecje committed Jan 18, 2024
1 parent 8a5d446 commit c330b06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ignore = [
"RET504",
"S101",
"UP015",
"ANN", "PTH", "I",
"ANN", "PTH",
]
select = ["ALL"]

Expand All @@ -66,6 +66,10 @@ lines-after-imports = 2
order-by-type = false
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]

[tool.ruff.per-file-ignores]
"tests/test_build.py" = ["I001"]
"tests/test_verify.py" = ["I001"]

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

Expand Down

0 comments on commit c330b06

Please sign in to comment.