From c330b06e4a26e11ac2f18782fed0da0b61e677e8 Mon Sep 17 00:00:00 2001 From: Cody Scott Date: Thu, 18 Jan 2024 15:24:47 -0500 Subject: [PATCH] Enable isort in ruff It doesn't detect utils.py in tests as a local file. Ignoring sort order in those two files for now --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5f4e972..1dbb619 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ ignore = [ "RET504", "S101", "UP015", - "ANN", "PTH", "I", + "ANN", "PTH", ] select = ["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