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
1
Merge Requests
1
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
Boxiang Sun
erp5
Commits
ddbdb7f8
Commit
ddbdb7f8
authored
Mar 16, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ingestion: fix pylint messages and enable coding style test
parent
1e876ac5
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
9 deletions
+11
-9
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Base_contribute.py
...mplateItem/portal_skins/erp5_ingestion/Base_contribute.py
+2
-0
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/ContributionTool_getPropertyDictFromFilename.py
...ingestion/ContributionTool_getPropertyDictFromFilename.py
+1
-1
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getAutorizedTargetFormatItemList.py
...p5_ingestion/Document_getAutorizedTargetFormatItemList.py
+5
-6
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_isTargetFormatPermitted.py
..._skins/erp5_ingestion/Document_isTargetFormatPermitted.py
+3
-1
bt5/erp5_ingestion/bt/skip_coding_style_test
bt5/erp5_ingestion/bt/skip_coding_style_test
+0
-1
No files found.
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Base_contribute.py
View file @
ddbdb7f8
# This script uses file= argument
# pylint: disable=redefined-builtin
"""
Use to contribute file to ERP5.
"""
...
...
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/ContributionTool_getPropertyDictFromFilename.py
View file @
ddbdb7f8
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getAutorizedTargetFormatItemList.py
View file @
ddbdb7f8
autorized_format_list
=
[]
format_list
=
context
.
getTargetFormatItemList
()
for
format
in
format_list
:
if
context
.
Document_isTargetFormatPermitted
(
format
[
1
]):
autorized_format_list
.
append
(
format
)
return
autorized_format_list
autorized_format_item_list
=
[]
for
format_item_list
in
context
.
getTargetFormatItemList
():
if
context
.
Document_isTargetFormatPermitted
(
format_item_list
[
1
]):
autorized_format_item_list
.
append
(
format_item_list
)
return
autorized_format_item_list
bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_isTargetFormatPermitted.py
View file @
ddbdb7f8
# This script uses file= argument
# pylint: disable=redefined-builtin
"""
This script provides a facility to permit conversion by format.
"""
...
...
bt5/erp5_ingestion/bt/skip_coding_style_test
deleted
100644 → 0
View file @
1e876ac5
1
\ No newline at end of file
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