mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
make: install check requirements via install-dev
This commit is contained in:
parent
a9b6488dac
commit
6354db82c4
2 changed files with 8 additions and 2 deletions
3
Makefile
3
Makefile
|
|
@ -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/>/=/'); \
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue