Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mat2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Romain
mat2
Commits
df1eb98a
Commit
df1eb98a
authored
5 years ago
by
Julien (jvoisin) Voisin
Browse files
Options
Downloads
Patches
Plain Diff
Please the new version of pylint
parent
ada53cb9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
libmat2/bubblewrap.py
+2
-0
2 additions, 0 deletions
libmat2/bubblewrap.py
with
4 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
df1eb98a
...
...
@@ -31,9 +31,9 @@ linting:pylint:
image
:
$CONTAINER_REGISTRY:linting
stage
:
linting
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
-
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
:
image
:
$CONTAINER_REGISTRY:linting
...
...
This diff is collapsed.
Click to expand it.
libmat2/bubblewrap.py
+
2
−
0
View file @
df1eb98a
...
...
@@ -18,6 +18,8 @@ __all__ = ['PIPE', 'run', 'CalledProcessError']
PIPE
=
subprocess
.
PIPE
CalledProcessError
=
subprocess
.
CalledProcessError
# pylint: disable=subprocess-run-check
def
_get_bwrap_path
()
->
str
:
bwrap_path
=
'
/usr/bin/bwrap
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment