aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-08-11 16:07:38 +0100
committerGravatar Chris Lovering <[email protected]>2023-08-11 16:07:38 +0100
commit7f010c65d4cbaaa4337537360506a0c85440351f (patch)
treecbb2a828088b99025215cfe3f29174fff11f46fe /pyproject.toml
parentBump ruff from 0.0.283 to 0.0.284 (#2714) (diff)
Use ruff's isort implementation
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml17
1 files changed, 6 insertions, 11 deletions
diff --git a/pyproject.toml b/pyproject.toml
index d74dee216..bff332531 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,6 @@ pydantic-settings = "2.0.2"
[tool.poetry.dev-dependencies]
coverage = "7.2.7"
httpx = "0.24.1"
-isort = "5.12.0"
pre-commit = "3.3.3"
pip-licenses = "4.3.2"
pytest = "7.4.0"
@@ -61,21 +60,12 @@ retest = "pytest -n auto --lf"
test-cov = "pytest -n auto --cov-report= --cov"
html = "coverage html"
report = "coverage report"
-isort = "isort ."
[tool.coverage.run]
branch = true
source_pkgs = ["bot"]
source = ["tests"]
-[tool.isort]
-multi_line_output = 6
-order_by_type = false
-case_sensitive = true
-combine_as_imports = true
-line_length = 120
-atomic = true
-
[tool.ruff]
target-version = "py311"
extend-exclude = [".cache"]
@@ -92,7 +82,12 @@ ignore = [
"SIM102", "SIM108",
]
line-length = 120
-select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]
+select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "I", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]
+
+[tool.ruff.isort]
+order-by-type = false
+case-sensitive = true
+combine-as-imports = true
[tool.ruff.per-file-ignores]
"tests/*" = ["ANN", "D"]