-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
31 lines (25 loc) · 918 Bytes
/
Makefile
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
maint:
pip install -r requirements/dev.txt
pre-commit autoupdate && pre-commit run --all-files
pip-compile -U setup.py
pip-compile -U requirements/ci.in
pip-compile -U requirements/dev.in
upload:
make clean
python setup.py sdist bdist_wheel && twine upload -s dist/*
test_upload:
make clean
python setup.py sdist bdist_wheel && twine upload --repository pypitest -s dist/*
clean:
python setup.py clean --all
pyclean .
rm -rf clana.egg-info dist tests/reports tests/__pycache__ clana.errors.log clana.info.log clana/cm_analysis.html dist __pycache__ clana/__pycache__ build docs/build
muation-test:
mutmut run
mutmut-results:
mutmut junitxml --suspicious-policy=ignore --untested-policy=ignore > mutmut-results.xml
junit2html mutmut-results.xml mutmut-results.html
bandit:
# Not a security application: B311 and B303 should be save
# Python3 only: B322 is save
bandit -r clana -s B311,B303,B322