tpaviot / ProcessScheduler

A Python package for automatic and optimized resource scheduling
https://processscheduler.github.io/
GNU General Public License v3.0
59 stars 18 forks source link

Refactoring #36

Closed tpaviot closed 3 years ago

tpaviot commented 3 years ago

Refactor the _Constraint class and subclasses so that the optional parameter properly propagates to all subclasses.

codecov-commenter commented 3 years ago

Codecov Report

Merging #36 (fe9620d) into master (a8612c8) will decrease coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   98.35%   98.34%   -0.02%     
==========================================
  Files          24       24              
  Lines        2673     2652      -21     
==========================================
- Hits         2629     2608      -21     
  Misses         44       44              
Impacted Files Coverage Δ
processscheduler/base.py 94.44% <100.00%> (-0.11%) :arrow_down:
processscheduler/resource_constraint.py 96.96% <100.00%> (-0.09%) :arrow_down:
processscheduler/task.py 97.84% <100.00%> (-0.05%) :arrow_down:
processscheduler/task_constraint.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a8612c8...fe9620d. Read the comment docs.