From 76317d0ebb0bfc95dc4c40837e00b80abd2fc03e Mon Sep 17 00:00:00 2001 From: Thorsten Sick Date: Wed, 23 Feb 2022 13:51:57 +0100 Subject: [PATCH] Activating pylint for code checks --- tox.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index b0429f1..273ad41 100644 --- a/tox.ini +++ b/tox.ini @@ -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/ \ No newline at end of file