@ -76,8 +77,11 @@ coverall: lint ## full test suite, check code coverage and open coverage report
@@ -76,8 +77,11 @@ coverall: lint ## full test suite, check code coverage and open coverage report
coverage html
$(BROWSER) htmlcov/index.html
tox:## run fully isolated tests with tox
tox
nox:## run fully isolated tests with nox
nox
tox:## old habits die hard: typo-squatting to use nox
nox
docs:## build the documentation using mkdocs
mkdocs build
@ -86,13 +90,13 @@ serve-docs: docs ## build the documentation and serve them in a web server
@@ -86,13 +90,13 @@ serve-docs: docs ## build the documentation and serve them in a web server
mkdocs serve
install:## install updated project.toml with flint
flit install --pth-file
.venv/bin/pip3 install -e ".[dev,docs,test]"
prepareenv:## setup a virtualenv and install basic reuqired packages
rm -fr .venv/
python3 -m venv --prompt sensospot_tools .venv
.venv/bin/pip3 install --upgrade pip
.venv/bin/pip3 install "flit>3.2"
.venv/bin/flit install --pth-file
.venv/bin/pip3 install --upgrade pip wheel
.venv/bin/pip3 install -e ".[dev,docs,test]"
devenv:prepareenv## setup development environment including pre commit hooks