• 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.
      + 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)
Last commit
Last update
ActionTemplateItem/portal_types Loading commit data...
DocumentTemplateItem/portal_components Loading commit data...
ExtensionTemplateItem/portal_components Loading commit data...
PathTemplateItem/portal_alarms Loading commit data...
PortalTypeTemplateItem/portal_types Loading commit data...
SkinTemplateItem/portal_skins Loading commit data...
TestTemplateItem/portal_components Loading commit data...
bt Loading commit data...