boost-dx-tutorial/justfile

25 lines
452 B
Makefile
Raw Normal View History

default: test
alias tc := test-coverage
alias l := lint
alias lf := lint-fix
alias c := compile-dependencies
test:
# pytest options can be found in pyproject.toml
# look for [tool.pytest.ini_options]
python -m pytest
test-coverage:
# here we allow extra arguments to be passed to pytest
python -m pytest --cov=src --cov-config=pyproject.toml
lint:
ruff check .
lint-fix:
ruff check --fix .
compile-dependencies:
pip-compile-multi