Skip to content

Commit

Permalink
add missing dev dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Mar 18, 2024
1 parent 04c9a84 commit bf6c7cf
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 14 deletions.
114 changes: 112 additions & 2 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 14 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,8 @@ requires = [
]
build-backend = "pdm.backend"

[tool.pdm.dev-dependencies]
dev = [
"pytest-cov>=4.1.0",
"pytest>=8.1.1",
"coverage>=7.4.4",
"pytest-sugar>=1.0.0",
"ruff>=0.3.3",
]

[tool]

[tool.pdm]
version = { source = "scm" }

[tool.black]
color = true
line-length = 80
Expand Down Expand Up @@ -86,6 +74,20 @@ minversion = "6.0"
testpaths = ["tests"]
addopts = "-v -rxs --cov chaosaddons --cov-report term-missing:skip-covered -p no:warnings"


[tool.pdm]
version = { source = "scm" }
[tool.pdm.dev-dependencies]
dev = [
"pytest-cov>=4.1.0",
"pytest>=8.1.1",
"coverage>=7.4.4",
"pytest-sugar>=1.0.0",
"ruff>=0.3.3",
"isort>=5.13.2",
"black>=24.3.0",
]

[tool.pdm.scripts]
lint = {composite = ["ruff check chaosaddons/", "isort --check-only --profile black chaosaddons/", "black --check --diff chaosaddons/"]}
format = {composite = ["isort --profile black chaosaddons/", "black chaosaddons/", "ruff check chaosaddons/ --fix"]}
Expand Down

0 comments on commit bf6c7cf

Please sign in to comment.