• Arnaud Fontaine's avatar
    ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and... · e84d2b51
    Arnaud Fontaine authored
    ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and Interface (erp5.component.interface).
    
    * One Mixin/Interface class per ZODB Component.
      => Already the case for FS Mixin, not for Interfaces.
    * ZODB Components module name ('reference' property) and class name:
      + Mixin: FooMixin.
      + Interface: IFoo.
    
    Rationale:
      + Avoid current FS hacks: registry (Mixins, mixin_class_registry) or import
        all classes explicitly in __init__.py (Products.ERP5Type.interfaces).
      + Consistent naming.
      + Consistent with ZODB Documents Components.
    
    Also, modify pylint checker to handle Zope Interfaces:
      + E: 4, 0: Inheriting 'Interface', which is not a class. (inherit-non-class)
      + E: 5, 2: Method has no argument (no-method-argument)
    e84d2b51
Name
Last commit
Last update
..
Constraint Loading commit data...
Document Loading commit data...
Extensions Loading commit data...
Interactor Loading commit data...
PropertySheet Loading commit data...
Tool Loading commit data...
dtml Loading commit data...
scripts Loading commit data...
tests Loading commit data...
www Loading commit data...
AudioField.py Loading commit data...
CaptchaField.py Loading commit data...
CaptchasDotNet.py Loading commit data...
CreatePropertySheet.py Loading commit data...
DurationField.py Loading commit data...
EditorField.py Loading commit data...
FSForm.py Loading commit data...
Form.py Loading commit data...
FormBox.py Loading commit data...
GadgetField.py Loading commit data...
HyperLinkField.py Loading commit data...
ImageField.py Loading commit data...
InputButtonField.py Loading commit data...
ListBox.py Loading commit data...
MAINTAINERS.txt Loading commit data...
MatrixBox.py Loading commit data...
MultiLinkField.py Loading commit data...
MultiRelationField.py Loading commit data...
OOoChart.py Loading commit data...
PDFForm.py Loading commit data...
PDFParser.py Loading commit data...
PDFTemplate.py Loading commit data...
POSBox.py Loading commit data...
ParallelListField.py Loading commit data...
Permissions.py Loading commit data...
PlanningBox.py Loading commit data...
PreferenceTool.py Loading commit data...
ProxyField.py Loading commit data...
RelationField.py Loading commit data...
Report.py Loading commit data...
ReportBox.py Loading commit data...
ScribusParser.py Loading commit data...
ScribusUtils.py Loading commit data...
Selection.py Loading commit data...
TODO.txt Loading commit data...
UI.stx Loading commit data...
VERSION.txt Loading commit data...
VideoField.py Loading commit data...
ZGDChart.py Loading commit data...
ZPyChart.py Loading commit data...
__init__.py Loading commit data...
refresh.txt Loading commit data...
tool.png Loading commit data...