Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
fc05f43c
Commit
fc05f43c
authored
May 09, 2022
by
Jérome Perrin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint: remove part of the pylint patch that are now slapos patches
parent
af8d27f6
Pipeline
#21358
failed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
product/ERP5Type/patches/pylint.py
product/ERP5Type/patches/pylint.py
+0
-12
No files found.
product/ERP5Type/patches/pylint.py
View file @
fc05f43c
...
...
@@ -272,18 +272,6 @@ def _getattr(self, name, *args, **kw):
return
[
ast
]
Module
.
getattr
=
_getattr
if
sys
.
version_info
<
(
2
,
8
):
from
astroid.node_classes
import
From
def
_absolute_import_activated
(
self
):
if
(
self
.
name
.
startswith
(
'checkPythonSourceCode'
)
or
self
.
name
.
startswith
(
'erp5'
)):
return
True
for
stmt
in
self
.
locals
.
get
(
'absolute_import'
,
()):
if
isinstance
(
stmt
,
From
)
and
stmt
.
modname
==
'__future__'
:
return
True
return
False
from
logilab.common.decorators
import
cachedproperty
Module
.
_absolute_import_activated
=
cachedproperty
(
_absolute_import_activated
)
from
astroid
import
register_module_extender
def
AccessControl_PermissionRole_transform
():
...
...
Jérome Perrin
@jerome
mentioned in commit
slapos@5bbf4b3e
·
May 09, 2022
mentioned in commit
slapos@5bbf4b3e
mentioned in commit slapos@5bbf4b3e0f0c5b1a6556486fcacde2251ce4ad1a
Toggle commit list
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