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
138
Merge Requests
138
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
b99a78fb
Commit
b99a78fb
authored
Apr 20, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint: ignore more messages
parent
f8091927
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
product/ERP5Type/Utils.py
product/ERP5Type/Utils.py
+5
-4
No files found.
product/ERP5Type/Utils.py
View file @
b99a78fb
...
@@ -535,8 +535,6 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
...
@@ -535,8 +535,6 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
# TODO-arnau: Enable it properly would require inspection API
# TODO-arnau: Enable it properly would require inspection API
# '%s %r has no %r member'
# '%s %r has no %r member'
'--disable=E1101,E1103'
,
'--disable=E1101,E1103'
,
# XXX duplicate-bases causes too many false positives
'--disable=duplicate-bases'
,
# map and filter should not be considered bad as in some cases
# map and filter should not be considered bad as in some cases
# map is faster than its recommended replacement (list
# map is faster than its recommended replacement (list
# comprehension)
# comprehension)
...
@@ -557,9 +555,12 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
...
@@ -557,9 +555,12 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
(
(
"--msg-template='{C}: {line},{column}: {msg} ({symbol})'"
,
"--msg-template='{C}: {line},{column}: {msg} ({symbol})'"
,
# BBB until we drop compatibility with PY2
# BBB until we drop compatibility with PY2
"--disable=redundant-u-string-prefix,raise-missing-from,keyword-arg-before-vararg"
,
'--disable=redundant-u-string-prefix,raise-missing-from,keyword-arg-before-vararg'
,
# XXX acceptable to ignore in the context of ERP5
# XXX acceptable to ignore in the context of ERP5
"--disable=unspecified-encoding"
,
'--disable=unspecified-encoding'
,
# XXX to many errors for now
'--disable=arguments-differ,arguments-renamed'
,
'--disable=duplicate-bases,inconsistent-mro'
,
)
)
)
)
if
portal_type
==
'Interface Component'
:
if
portal_type
==
'Interface Component'
:
...
...
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