Skip to content

Commit

Permalink
tox: bandit suppress request_without_timeout
Browse files Browse the repository at this point in the history
* Temporary suppress bandit request_without_timeout (B113) error because
  of false positives.
* See also: PyCQA/bandit#996

Change-Id: I7a1c276c2a51ac5278d8a20bd7e267c6a9340e96
  • Loading branch information
volans- committed Mar 10, 2023
1 parent 9573a1c commit 4bd02b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -23,7 +23,8 @@ envdir =
commands =
flake8: flake8
# Avoid bandit subprocess related warnings (B404,B603)
bandit: bandit -l -i -r --skip B404,B603 cookbooks/
# Suppress bandit request_without_timeout (B113) because of https://github.com/PyCQA/bandit/issues/996
bandit: bandit -l -i -r --skip B113,B404,B603 cookbooks/
mypy: mypy --show-error-codes -p cookbooks
prospector: prospector --profile "{toxinidir}/prospector.yaml" cookbooks/
unit: py.test --strict-markers tests/unit {posargs}
Expand Down

0 comments on commit 4bd02b5

Please sign in to comment.