mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
gitlab-ci: use latest pylint to avoid safety error about vuln
This commit is contained in:
parent
052e22284b
commit
0700242416
@ -138,9 +138,9 @@ lint_format_safety_bandit_checks:
|
||||
variables:
|
||||
LANG: C.UTF-8
|
||||
script:
|
||||
- apk add --no-cache bash dash ca-certificates python3
|
||||
- apk add --no-cache bash build-base dash ca-certificates gcc python3 python3-dev
|
||||
- python3 -m ensurepip
|
||||
- $pip install Babel 'bandit<1.6.0' pycodestyle pyflakes 'pylint<2.0' safety
|
||||
- $pip install Babel 'bandit<1.6.0' pycodestyle pyflakes pylint safety
|
||||
- export EXITVALUE=0
|
||||
- function set_error() { export EXITVALUE=1; printf "\x1b[31mERROR `history|tail -2|head -1|cut -b 6-500`\x1b[0m\n"; }
|
||||
- ./hooks/pre-commit || set_error
|
||||
|
Loading…
Reference in New Issue
Block a user