Skip to content

Commit ae6187b

Browse files
committed
adjust tooling
Signed-off-by: Sylvain Hellegouarch <[email protected]>
1 parent 2736f0a commit ae6187b

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

pyproject.toml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ build-backend = "pdm.backend"
4444

4545
[tool]
4646

47-
[tool.black]
48-
color = true
49-
line-length = 80
50-
target-version = ['py310']
51-
5247
[tool.ruff]
5348
line-length = 80
5449
exclude = [
@@ -64,13 +59,12 @@ exclude = [
6459
"dist",
6560
]
6661

67-
[tool.isort]
68-
line_length = 80
69-
known_first_party = 'chaosk8s'
70-
multi_line_output = 3
71-
include_trailing_comma = true
72-
force_grid_wrap = 0
73-
combine_as_imports = true
62+
[tool.ruff.format]
63+
quote-style = "double"
64+
indent-style = "space"
65+
skip-magic-trailing-comma = false
66+
line-ending = "auto"
67+
docstring-code-format = false
7468

7569
[tool.pytest.ini_options]
7670
minversion = "6.0"
@@ -79,7 +73,9 @@ addopts = "-v -rxs --cov chaosk8s --cov-report term-missing:skip-covered -p no:w
7973

8074

8175
[tool.pdm]
76+
distribution = true
8277
version = { source = "scm" }
78+
8379
[tool.pdm.dev-dependencies]
8480
dev = [
8581
"pytest-cov>=4.1.0",
@@ -92,5 +88,5 @@ dev = [
9288

9389
[tool.pdm.scripts]
9490
lint = {composite = ["ruff check chaosk8s/"]}
95-
format = {composite = ["ruff format chaosk8s/"]}
91+
format = {composite = ["ruff check --fix chaosk8s/", "ruff format chaosk8s/"]}
9692
test = {cmd = "pytest"}

0 commit comments

Comments
 (0)