diff --git a/Makefile b/Makefile index 8d042e819..d8fa054be 100644 --- a/Makefile +++ b/Makefile @@ -43,8 +43,12 @@ syntax: poetry.lock @echo "Target syntax" # stop the build if there are Python syntax errors or undefined names poetry run flake8 . --exclude src/exabgp/vendoring/ --exclude build/ --count --select=E9,F63,F7,F82 --show-source --statistics + +extra_syntax: # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - # poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + +security: poetry run bandit -r src build: poetry.lock