gitlab-ci: use latest pylint to avoid safety error about vuln

This commit is contained in:
Hans-Christoph Steiner 2020-05-08 12:29:54 +02:00
parent 052e22284b
commit 0700242416
1 changed files with 2 additions and 2 deletions

View File

@ -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