chore: use pdm run

This commit is contained in:
Daylin Morgan 2023-08-08 09:02:49 -05:00
parent 9709c154e0
commit 3f8ddd3362
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -5,7 +5,7 @@ lint: ## run pre-commit hooks
pdm run pre-commit run --all || pdm run pre-commit run --all pdm run pre-commit run --all || pdm run pre-commit run --all
types: ## run mypy types: ## run mypy
mypy src/viv pdm run mypy src/viv
bump: ## update version and tag commit bump: ## update version and tag commit
@echo "bumping to version => $(VERSION)" @echo "bumping to version => $(VERSION)"
@ -23,7 +23,7 @@ dev-install:
ln -sf $(PWD)/src/viv/viv.py ~/.local/share/viv/viv.py ln -sf $(PWD)/src/viv/viv.py ~/.local/share/viv/viv.py
docs: docs/index.md docs/viv.py ## build docs docs: docs/index.md docs/viv.py ## build docs
mkdocs build pdm run mkdocs build
docs/viv.py: src/viv/viv.py docs/viv.py: src/viv/viv.py
cp $< $@ cp $< $@