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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
6980d7df
Commit
6980d7df
authored
Sep 06, 2019
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: Cosmetic.
parent
acdc976f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5Type/Utils.py
product/ERP5Type/Utils.py
+3
-3
No files found.
product/ERP5Type/Utils.py
View file @
6980d7df
...
@@ -507,10 +507,10 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
...
@@ -507,10 +507,10 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
if
portal_type
==
'Interface Component'
:
if
portal_type
==
'Interface Component'
:
# Interface inherits from InterfaceClass:
# Interface inherits from InterfaceClass:
#
E: 4, 0:
Inheriting 'Interface', which is not a class. (inherit-non-class)
# Inheriting 'Interface', which is not a class. (inherit-non-class)
args
.
append
(
'--disable=E0239'
)
args
.
append
(
'--disable=E0239'
)
# Interfaces methods have no arguments:
# Interfaces methods
may
have no arguments:
#
E: 5, 2:
Method has no argument (no-method-argument)
# Method has no argument (no-method-argument)
args
.
append
(
'--disable=E0211'
)
args
.
append
(
'--disable=E0211'
)
# Method should have "self" as first argument (no-self-argument)
# Method should have "self" as first argument (no-self-argument)
args
.
append
(
'--disable=E0213'
)
args
.
append
(
'--disable=E0213'
)
...
...
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