File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
args : ["-c", "--df"]
26
26
27
27
- repo : https://github.com/PyCQA/bandit
28
- rev : 1.8.2
28
+ rev : 1.8.3
29
29
hooks :
30
30
- id : bandit
31
31
args : ["-ll", "-x", "tests"]
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def preload_docs(endpoint):
188
188
189
189
api_docs = modify_html (api_docs )
190
190
191
- api_docs = markupsafe .Markup (api_docs )
191
+ api_docs = markupsafe .Markup (api_docs ) # nosec B704
192
192
return api_docs
193
193
194
194
@@ -201,7 +201,7 @@ def load_docs(page):
201
201
URL = app .config .get ("DATAGREPPER_BASE_URL" , flask .request .url_root )
202
202
docs = htmldocs [page ]
203
203
docs = jinja2 .Template (docs ).render (URL = URL )
204
- return markupsafe .Markup (docs )
204
+ return markupsafe .Markup (docs ) # nosec B704
205
205
206
206
207
207
def count_all_messages ():
You can’t perform that action at this time.
0 commit comments