Skip to content

pass around ramp-up and ramp-down periods

codefactor.io / CodeFactor failed May 23, 2024 in 4s

4 issues found.

Annotations

Check notice on line 166 in conflowgen/tests/domain_models/test_container.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

conflowgen/tests/domain_models/test_container.py#L166

Unnecessary ellipsis constant (unnecessary-ellipsis)

Check notice on line 179 in conflowgen/tests/domain_models/test_container.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

conflowgen/tests/domain_models/test_container.py#L179

Unnecessary ellipsis constant (unnecessary-ellipsis)

Check notice on line 114 in conflowgen/tests/domain_models/factories/test_container_factory__create_for_large_scheduled_vehicle.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

conflowgen/tests/domain_models/factories/test_container_factory__create_for_large_scheduled_vehicle.py#L114

Consider using a generator instead 'sum(c.occupied_teu for c in containers)' (consider-using-generator)

Check notice on line 147 in conflowgen/tests/domain_models/factories/test_container_factory__create_for_large_scheduled_vehicle.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

conflowgen/tests/domain_models/factories/test_container_factory__create_for_large_scheduled_vehicle.py#L147

Consider using a generator instead 'sum(c.occupied_teu for c in containers)' (consider-using-generator)