Tools - add bandit

This commit is contained in:
Sam
2022-05-28 20:01:14 +02:00
parent a9c20ad753
commit b5d09008ee
9 changed files with 156 additions and 8 deletions

View File

@ -6,6 +6,9 @@ make-p:
# Launch all P targets in parallel and exit as soon as one exits.
set -m; (for p in $(P); do ($(MAKE) $$p || kill 0)& done; wait)
bandit:
$(BANDIT) -r fittrackee -c pyproject.toml
build-client: lint-client
cd fittrackee_client && $(NPM) build
@ -13,7 +16,7 @@ check-all: lint-all type-check test-all
check-client: lint-client test-client
check-python: lint-python type-check test-python
check-python: bandit lint-python type-check test-python
clean:
rm -rf .mypy_cache