1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
develop:
python setup.py develop
lint flake: checkrst pyroma bandit mypy
flake8 janus tests
test: flake develop
pytest tests
vtest: flake develop
pytest -v tests
fmt:
isort -rc janus tests setup.py
black janus tests setup.py
cov: flake develop
pytest --cov=janus --cov=tests --cov-report=term --cov-report=html
@echo "open file://`pwd`/coverage/index.html"
checkrst:
python setup.py check --restructuredtext
pyroma:
pyroma -d .
bandit:
bandit -r ./janus
mypy:
mypy janus --strict
|