Skip to content

Commit

Permalink
Use baseline for bandit (unhappy about subprocess calls)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed May 30, 2023
1 parent fa49710 commit 7723db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bandit.baseline
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"errors": [],
"generated_at": "2023-05-25T13:27:12Z",
"generated_at": "2023-05-25T13:28:03Z",
"metrics": {
"_totals": {
"CONFIDENCE.HIGH": 3,
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ lint: $(INSTALL_STAMP) ## Analyze code base
$(POETRY) run black --check checks tests $(NAME) --diff
$(POETRY) run flake8 --ignore=W503,E501 checks tests $(NAME)
$(POETRY) run mypy checks tests $(NAME) --ignore-missing-imports
$(POETRY) run bandit -r $(NAME) -s B608
$(POETRY) run bandit -r $(NAME) -b .bandit.baseline
$(POETRY) run poetry run detect-secrets-hook `git ls-files | grep -v poetry.lock` --baseline .secrets.baseline

format: $(INSTALL_STAMP) ## Format code base
Expand Down

0 comments on commit 7723db3

Please sign in to comment.