mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 00:41:06 +03:00
fix all bandit B310 urllib_urlopen
"Audit url open for permitted schemes. Allowing use of ‘file:’’ or custom schemes is often unexpected." https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b310-urllib-urlopen
This commit is contained in:
parent
d8f3d94997
commit
3df276cc3c
4 changed files with 19 additions and 6 deletions
|
@ -140,7 +140,7 @@ lint_format_safety_bandit_checks:
|
|||
- ./hooks/pre-commit || export EXITVALUE=1
|
||||
- bandit
|
||||
-ii
|
||||
-s B110,B310,B322,B404,B408,B410,B603,B607
|
||||
-s B110,B322,B404,B408,B410,B603,B607
|
||||
-r $CI_PROJECT_DIR fdroid
|
||||
|| export EXITVALUE=1
|
||||
- safety check --full-report || export EXITVALUE=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue