|
|
@ -52,8 +52,9 @@ commands =
|
|
|
|
safety check -r requirements.txt
|
|
|
|
safety check -r requirements.txt
|
|
|
|
# Check for common vulnerabilities
|
|
|
|
# Check for common vulnerabilities
|
|
|
|
bandit -ll -r app/ plugins/ *.py
|
|
|
|
bandit -ll -r app/ plugins/ *.py
|
|
|
|
# Linting
|
|
|
|
# pylint check (linter, basic checks only)
|
|
|
|
# pylint *.py # currently off. Needs configuration
|
|
|
|
pylint --rcfile=pylint.rc app/ plugins/base/ caldera_control.py doc_generator.py experiment_control.py machine_control.py metasploit_control.py plugin_manager.py
|
|
|
|
|
|
|
|
# Own plugin checker
|
|
|
|
python3 ./plugin_manager.py check
|
|
|
|
python3 ./plugin_manager.py check
|
|
|
|
# mypy checks
|
|
|
|
# mypy checks (type checker)
|
|
|
|
mypy --strict-optional app/ plugins/base/
|
|
|
|
mypy --strict-optional app/ plugins/base/
|