You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PurpleDome/Makefile

26 lines
695 B
Makefile

# Makefile for standard actions
#
#
.PHONY: test init deinit shipit pylint
test: tox.ini
tox;
coverage html;
coverage report;
shipit: test
cd doc; make zip; cd ..
git log --pretty="format: %aD %an: %s" > shipit_log.txt
python3 tools/shipit.py
# More detailed pylint tests.
pylint:
pylint --rcfile=pylint.rc *.py app/*.py plugins/base/*.py
mypy:
mypy --strict-optional app/
# Fixing mypy file by file
stepbystep:
mypy --strict-optional plugins/base/plugin_base.py plugins/base/machinery.py app/config.py plugins/base/caldera.py plugins/base/attack.py plugins/base/sensor.py plugins/base/ssh_features.py plugins/base/vulnerability_plugin.py app/attack_log.py app/calderacontrol.py