• Arnaud Fontaine's avatar
    ZODB Components: Enable checking of imports with pylint. · 1cb2dc4c
    Arnaud Fontaine authored
    Until now it was disabled which means that if Component A imports Component B
    and the latter is not in {validated,modified} state, Component A could be
    validated without raising any error and failed at execution time.
    
    As this relies on Pylint transform/hook and avoiding monkey patch as much
    as possible, make Products.ERP5Type.patches.pylint available for Python3 (not
    actually tested with ERP5 but no AttributeError nor ImportError with Python3
    with this code).
    
    Also, allow developer to call validate action from 'modified' state to handle
    import use case:
      1. Edit A which raises an error stating that B.
      2. Fix B and validate it.
      3. Validate again A without requiring a modification of {reference,version,text_content}.
    1cb2dc4c
Name
Last commit
Last update
..
Capacity Loading commit data...
Constraint Loading commit data...
Converter Loading commit data...
DeliverySolver Loading commit data...
Document Loading commit data...
Extensions Loading commit data...
Interactor Loading commit data...
TargetSolver Loading commit data...
Tool Loading commit data...
ancient Loading commit data...
bin Loading commit data...
bootstrap Loading commit data...
doc Loading commit data...
dtml Loading commit data...
help Loading commit data...
interfaces Loading commit data...
misc Loading commit data...
mixin Loading commit data...
tests Loading commit data...
www Loading commit data...
CREDITS.txt Loading commit data...
ERP5Defaults.py Loading commit data...
ERP5Site.py Loading commit data...
ExpandPolicy.py Loading commit data...
ExplanationCache.py Loading commit data...
GPL.txt Loading commit data...
GeneratedAmountList.py Loading commit data...
INSTALL Loading commit data...
Interaction.py Loading commit data...
InteractionWorkflow.py Loading commit data...
MAINTAINERS.txt Loading commit data...
MovementCollectionDiff.py Loading commit data...
MovementGroup.py Loading commit data...
NotUsed.py Loading commit data...
Permissions.py Loading commit data...
README.txt Loading commit data...
VERSION.txt Loading commit data...
Variated.py Loading commit data...
ZPL.txt Loading commit data...
__init__.py Loading commit data...
genbt5list.py Loading commit data...
portal.gif Loading commit data...
refresh.txt Loading commit data...
tool.png Loading commit data...