Commit ddbdb7f8 authored by Jérome Perrin's avatar Jérome Perrin

ingestion: fix pylint messages and enable coding style test

parent 1e876ac5
# This script uses file= argument
# pylint: disable=redefined-builtin
"""
Use to contribute file to ERP5.
"""
......
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
# This script uses file= argument
# pylint: disable=redefined-builtin
"""
This script provides a facility to permit conversion by format.
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment