Ville Skyttä 2020-12-19 13:35:13 +02:00 committed by GitHub
parent 1ac937c7d5
commit de04a1ed67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -149,7 +149,7 @@ def basic_sanity_check(cursor):
"""Check tables to make sure select does not fail."""
for table in ALL_TABLES:
cursor.execute(f"SELECT * FROM {table} LIMIT 1;") # sec: not injection
cursor.execute(f"SELECT * FROM {table} LIMIT 1;") # nosec # not injection
return True

View File

@ -1,6 +1,7 @@
# https://bandit.readthedocs.io/en/latest/config.html
tests:
- B103
- B108
- B306
- B307
@ -13,5 +14,8 @@ tests:
- B319
- B320
- B325
- B601
- B602
- B604
- B608
- B609