Skip to content

Commit

Permalink
Update pdm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Oct 14, 2023
1 parent d8a09ba commit 87ef32e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,18 @@ ruff = "ruff check src --fix-only"
black = "black src"
test = "pytest --cov --cov-report=xml"
mypy = "mypy src --install-types --non-interactive"
bumpver = "pdm bump micro"
tag = "pdm bump tag"

[tool.pdm.scripts.bumpver]
composite = [
"pdm self add pdm-bump",
"pdm bump micro",
]

[tool.pdm.scripts.tag]
composite = [
"pdm self add pdm-bump",
"pdm bump tag",
]

[tool.pdm.scripts.prebuild]
composite = [
Expand All @@ -83,7 +93,6 @@ composite = [
[tool.pdm.scripts.pub]
composite = [
"prebuild",
"pdm install --plugins",
"bumpver",
"pdm publish",
]
Expand Down

0 comments on commit 87ef32e

Please sign in to comment.