diff options
| author | georg | 2019-11-25 18:44:45 +0000 |
|---|---|---|
| committer | georg | 2019-11-26 23:16:49 +0000 |
| commit | deeee256cc5fd92e66ffa507ff609259e7d0e370 (patch) | |
| tree | c81fe6190b4aff11d28d732d2425c8b4621fca92 | |
| parent | df1eb98a40e9c3dd052c2eff75d6bf75b2a34ba0 (diff) | |
CI: Use pylint, instead of pylint3
It seems, despite the name, both packages depend on Python 3. However,
pylint3 seems deprecated, and upstream recommends to install pylint:
https://www.pylint.org/#install
The current versions of both packages in Debian unstable are:
pylint 2.4.4-1
pylint3 2.2.2-1
This commit fixes failing CI jobs due to the use of pylint3 2.2.2-1,
which seems broken.
| -rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c89198a..82cd46b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -31,9 +31,9 @@ linting:pylint: | |||
| 31 | image: $CONTAINER_REGISTRY:linting | 31 | image: $CONTAINER_REGISTRY:linting |
| 32 | stage: linting | 32 | stage: linting |
| 33 | script: | 33 | script: |
| 34 | - pylint3 --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2 | 34 | - pylint --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2 |
| 35 | # Once nautilus-python is in Debian, decomment it form the line below | 35 | # Once nautilus-python is in Debian, decomment it form the line below |
| 36 | - pylint3 --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension --extension-pkg-whitelist=Nautilus,GObject,Gtk,Gio,GLib,gi ./nautilus/mat2.py | 36 | - pylint --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension --extension-pkg-whitelist=Nautilus,GObject,Gtk,Gio,GLib,gi ./nautilus/mat2.py |
| 37 | 37 | ||
| 38 | linting:pyflakes: | 38 | linting:pyflakes: |
| 39 | image: $CONTAINER_REGISTRY:linting | 39 | image: $CONTAINER_REGISTRY:linting |
