just: reduce number of recipes
This commit is contained in:
parent
dc9b31a5a2
commit
88b22f52e9
1 changed files with 5 additions and 16 deletions
21
justfile
21
justfile
|
|
@ -45,16 +45,10 @@ test *ARGS:
|
||||||
coverage:
|
coverage:
|
||||||
uv run pytest tests.py --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config pyproject.toml
|
uv run pytest tests.py --cov=src/ --cov-report term --cov-report xml --cov-report html --cov-config pyproject.toml
|
||||||
|
|
||||||
# lint python code
|
|
||||||
lint-python:
|
|
||||||
uv run ruff check .
|
|
||||||
|
|
||||||
# lint markdown documents
|
|
||||||
lint-markdown:
|
|
||||||
markdownlint-cli2 .
|
|
||||||
|
|
||||||
# run python and markdown
|
# run python and markdown
|
||||||
lint: lint-python lint-markdown
|
lint:
|
||||||
|
uv run ruff check .
|
||||||
|
markdownlint-cli2 .
|
||||||
|
|
||||||
# remove artefacts from dist/
|
# remove artefacts from dist/
|
||||||
clean:
|
clean:
|
||||||
|
|
@ -65,11 +59,6 @@ ci: lint
|
||||||
prek run --all-files
|
prek run --all-files
|
||||||
# woodpecker-cli exec "whatever"
|
# woodpecker-cli exec "whatever"
|
||||||
|
|
||||||
# create a new realese [CURRENTLY USELESS]
|
|
||||||
[private]
|
[private]
|
||||||
release:
|
bump segment:
|
||||||
@echo remember to git tag and update pyproject.toml
|
uv version --bump {{ segment }}
|
||||||
uv build
|
|
||||||
# upload to package registry
|
|
||||||
# send newsletter
|
|
||||||
# take over the world
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue