mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 08:23:46 +00:00
Merge branch 'patch-1' into 'master'
Fix bug, utiliser apt pour pylint-django See merge request federez/re2o!50
This commit is contained in:
commit
b3271c3e5f
1 changed files with 2 additions and 3 deletions
|
@ -11,10 +11,9 @@ lint:
|
||||||
LANGUAGE: 'en_US.UTF-8'
|
LANGUAGE: 'en_US.UTF-8'
|
||||||
script:
|
script:
|
||||||
- apt-get -qq update
|
- apt-get -qq update
|
||||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales python3-pip python3-django
|
- DEBIAN_FRONTEND=noninteractive apt-get -qq install -y locales python3-pip python3-django python3-pylint-django
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||||
- pip3 install -q pylint-django
|
- pylint3 --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi
|
||||||
- pylint --load-plugins pylint_django cotisations machines re2o logs topologie preferences search users || if [ $? -ne 1 ]; then exit 0; else exit 1; fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue