Activating pylint for code checks

more_unit_tests
Thorsten Sick 2 years ago
parent 2b6b00fd8e
commit 76317d0ebb

@ -52,8 +52,9 @@ commands =
safety check -r requirements.txt
# Check for common vulnerabilities
bandit -ll -r app/ plugins/ *.py
# Linting
# pylint *.py # currently off. Needs configuration
# pylint check (linter, basic checks only)
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
# mypy checks
# mypy checks (type checker)
mypy --strict-optional app/ plugins/base/
Loading…
Cancel
Save