Please the new version of pylint
This commit is contained in:
parent
ada53cb9c6
commit
df1eb98a40
@ -31,9 +31,9 @@ linting:pylint:
|
|||||||
image: $CONTAINER_REGISTRY:linting
|
image: $CONTAINER_REGISTRY:linting
|
||||||
stage: linting
|
stage: linting
|
||||||
script:
|
script:
|
||||||
- pylint3 --disable=no-else-return --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2
|
- pylint3 --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2
|
||||||
# Once nautilus-python is in Debian, decomment it form the line below
|
# Once nautilus-python is in Debian, decomment it form the line below
|
||||||
- pylint3 --disable=no-else-return --extension-pkg-whitelist=Nautilus,GObject,Gtk,Gio,GLib,gi ./nautilus/mat2.py
|
- 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
|
||||||
|
|
||||||
linting:pyflakes:
|
linting:pyflakes:
|
||||||
image: $CONTAINER_REGISTRY:linting
|
image: $CONTAINER_REGISTRY:linting
|
||||||
|
@ -18,6 +18,8 @@ __all__ = ['PIPE', 'run', 'CalledProcessError']
|
|||||||
PIPE = subprocess.PIPE
|
PIPE = subprocess.PIPE
|
||||||
CalledProcessError = subprocess.CalledProcessError
|
CalledProcessError = subprocess.CalledProcessError
|
||||||
|
|
||||||
|
# pylint: disable=subprocess-run-check
|
||||||
|
|
||||||
|
|
||||||
def _get_bwrap_path() -> str:
|
def _get_bwrap_path() -> str:
|
||||||
bwrap_path = '/usr/bin/bwrap'
|
bwrap_path = '/usr/bin/bwrap'
|
||||||
|
Loading…
Reference in New Issue
Block a user