Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jvoisin
mat2
Commits
77dde8a0
Commit
77dde8a0
authored
Nov 13, 2020
by
jvoisin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Please pylint
parent
1b361ec2
Pipeline
#49048
failed with stages
in 3 minutes and 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
.pylintrc
.pylintrc
+1
-0
libmat2/bubblewrap.py
libmat2/bubblewrap.py
+0
-2
No files found.
.gitlab-ci.yml
View file @
77dde8a0
...
...
@@ -31,9 +31,9 @@ linting:pylint:
image
:
$CONTAINER_REGISTRY:linting
stage
:
linting
script
:
-
pylint --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension --extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2
-
pylint --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension
,raise-missing-from
--extension-pkg-whitelist=cairo,gi ./libmat2 ./mat2
# Once nautilus-python is in Debian, decomment it form the line below
-
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
-
pylint --disable=no-else-return,no-else-raise,no-else-continue,unnecessary-comprehension
,raise-missing-from
--extension-pkg-whitelist=Nautilus,GObject,Gtk,Gio,GLib,gi ./nautilus/mat2.py
linting:pyflakes:
image
:
$CONTAINER_REGISTRY:linting
...
...
.pylintrc
View file @
77dde8a0
...
...
@@ -14,4 +14,5 @@ disable=
catching-non-exception,
cell-var-from-loop,
locally-disabled,
raise-missing-from,
invalid-sequence-index, # pylint doesn't like things like `Tuple[int, bytes]` in type annotation
libmat2/bubblewrap.py
View file @
77dde8a0
...
...
@@ -29,7 +29,6 @@ def _get_bwrap_path() -> str:
raise
RuntimeError
(
"Unable to find bwrap"
)
# pragma: no cover
# pylint: disable=bad-whitespace
def
_get_bwrap_args
(
tempdir
:
str
,
input_filename
:
str
,
output_filename
:
Optional
[
str
]
=
None
)
->
List
[
str
]:
...
...
@@ -77,7 +76,6 @@ def _get_bwrap_args(tempdir: str,
return
args
# pylint: disable=bad-whitespace
def
run
(
args
:
List
[
str
],
input_filename
:
str
,
output_filename
:
Optional
[
str
]
=
None
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment