make: install check requirements via install-dev

This commit is contained in:
Hugo Osvaldo Barrera 2025-09-20 13:19:41 +02:00
parent a9b6488dac
commit 6354db82c4
2 changed files with 8 additions and 2 deletions

View file

@ -49,8 +49,7 @@ release-deb:
install-dev:
pip install -U pip setuptools wheel
pip install -e '.[test,docs]'
pip install -U pre-commit
pip install -e '.[test,check,docs]'
set -xe && if [ "$(REQUIREMENTS)" = "minimal" ]; then \
pip install pyproject-dependencies && \
pip install -U --force-reinstall $$(pyproject-dependencies . | sed 's/>/=/'); \

View file

@ -58,6 +58,13 @@ docs = [
"sphinx_rtd_theme",
"setuptools_scm",
]
check = [
"mypy",
"ruff",
"types-docutils",
"types-requests",
"types-setuptools",
]
[project.scripts]
vdirsyncer = "vdirsyncer.cli:app"