diff options
| -rw-r--r-- | .gitlab-ci.yml | 4 | ||||
| -rw-r--r-- | libmat2/bubblewrap.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5713d5b..c89198a 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 --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2 | 34 | - pylint3 --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 --extension-pkg-whitelist=Nautilus,GObject,Gtk,Gio,GLib,gi ./nautilus/mat2.py | 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 |
| 37 | 37 | ||
| 38 | linting:pyflakes: | 38 | linting:pyflakes: |
| 39 | image: $CONTAINER_REGISTRY:linting | 39 | image: $CONTAINER_REGISTRY:linting |
diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py index fb6fc9d..c05bdaa 100644 --- a/libmat2/bubblewrap.py +++ b/libmat2/bubblewrap.py | |||
| @@ -18,6 +18,8 @@ __all__ = ['PIPE', 'run', 'CalledProcessError'] | |||
| 18 | PIPE = subprocess.PIPE | 18 | PIPE = subprocess.PIPE |
| 19 | CalledProcessError = subprocess.CalledProcessError | 19 | CalledProcessError = subprocess.CalledProcessError |
| 20 | 20 | ||
| 21 | # pylint: disable=subprocess-run-check | ||
| 22 | |||
| 21 | 23 | ||
| 22 | def _get_bwrap_path() -> str: | 24 | def _get_bwrap_path() -> str: |
| 23 | bwrap_path = '/usr/bin/bwrap' | 25 | bwrap_path = '/usr/bin/bwrap' |
