Skip to content

Commit

Permalink
break poetry bandit out due to false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Feb 8, 2022
1 parent f93209a commit abb12ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abb12ec

Please sign in to comment.