Commit 30272ee5 authored by Jérome Perrin's avatar Jérome Perrin

mrp: pylint py3

parent e9199860
......@@ -163,7 +163,7 @@ class TransformationRuleMovementGenerator(MovementGeneratorMixin):
# movement with an industrial_phase (other properties like reference
# starting with "pr/" is possible). The drawback with such filter is that
# Same Total Quantity check must be disabled.
if 1:
if 1: # pylint:disable=using-constant-test
cr_quantity = - parent_movement.getQuantity()
def newIntermediateMovement(reference_prefix, industrial_phase, **kw):
movement = newMovement(reference_prefix + phase, kw)
......
......@@ -2,7 +2,7 @@ simulation_method = getattr(delivery, 'getSimulationState', None)
if simulation_method is None:
return '#D1E8FF'
simulation_state = simulation_method()
simulation_state = simulation_method() # pylint:disable=not-callable
color_dict = {
'draft': '#a7d7ae',
......
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