From 978cdf98912a7ce7cf6d42bb3f617c3e80cb06ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaman=20G=C3=BC=C3=A7l=C3=BC?= Date: Tue, 14 Jan 2020 11:06:26 +0100 Subject: [PATCH] ci: add Bandit configuration file --- bandit.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bandit.yml diff --git a/bandit.yml b/bandit.yml new file mode 100644 index 000000000..fec715d85 --- /dev/null +++ b/bandit.yml @@ -0,0 +1,7 @@ +# Do not check for use of 'assert' statements (which are standard in unit tests) +# See https://bandit.readthedocs.io/en/latest/plugins/b101_assert_used.html +# +# NOTE: ideally, we would like to only skip this check in our unit tests, but +# we do not know if this is possible. +skips: + - B101 # Ignore assert statements