mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 09:21:07 +03:00
gitlab-ci: use latest pylint to avoid safety error about vuln
This commit is contained in:
parent
052e22284b
commit
0700242416
1 changed files with 2 additions and 2 deletions
|
@ -138,9 +138,9 @@ lint_format_safety_bandit_checks:
|
||||||
variables:
|
variables:
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
script:
|
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
|
- 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
|
- export EXITVALUE=0
|
||||||
- function set_error() { export EXITVALUE=1; printf "\x1b[31mERROR `history|tail -2|head -1|cut -b 6-500`\x1b[0m\n"; }
|
- 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
|
- ./hooks/pre-commit || set_error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue