File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff 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 ]
5348line-length = 80
5449exclude = [
@@ -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 ]
7670minversion = " 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
8277version = { source = " scm" }
78+
8379[tool .pdm .dev-dependencies ]
8480dev = [
8581 " pytest-cov>=4.1.0" ,
@@ -92,5 +88,5 @@ dev = [
9288
9389[tool .pdm .scripts ]
9490lint = {composite = [" ruff check chaosk8s/" ]}
95- format = {composite = [" ruff format chaosk8s/" ]}
91+ format = {composite = [" ruff check --fix chaosk8s/ " , " ruff format chaosk8s/" ]}
9692test = {cmd = " pytest" }
You can’t perform that action at this time.
0 commit comments