Rye all makefile targets

This commit is contained in:
Yax 2023-11-11 13:50:59 +01:00
parent 46a6358c5b
commit e85157c5a0
5 changed files with 17 additions and 19 deletions

View file

@ -8,15 +8,15 @@ endif
all: black test typehint lint
black:
poetry run isort --multi-line 3 --profile black src/ tests/
poetry run black --target-version py311 src/ tests/
rye run isort --multi-line 3 --profile black src/ tests/
rye run black --target-version py311 src/ tests/
test:
rye run coverage run -m --source=stacosys pytest tests
rye run coverage report
typehint:
rye run mypy --ignore-missing-imports stacosys/ tests/
rye run mypy --ignore-missing-imports src/ tests/
lint:
rye run pylint src/