Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for capacities to be determined post init. #55

Merged
merged 2 commits into from
Apr 25, 2022
Merged

Conversation

jonathf
Copy link
Collaborator

@jonathf jonathf commented Apr 25, 2022

Instead of pre-declaring amount_capacity in init, allow it to be None, and instead verify it after it when the vehicles come in.

@codecov
Copy link

codecov bot commented Apr 25, 2022

Codecov Report

Merging #55 (ba009da) into main (8c04882) will decrease coverage by 0.0%.
The diff coverage is 69.2%.

@@           Coverage Diff           @@
##            main     #55     +/-   ##
=======================================
- Coverage   80.2%   80.1%   -0.1%     
=======================================
  Files         28      28             
  Lines       1304    1315     +11     
  Branches      17      17             
=======================================
+ Hits        1046    1054      +8     
- Misses       249     252      +3     
  Partials       9       9             
Flag Coverage Δ
binding 70.2% <ø> (ø)
python 91.7% <69.2%> (-0.4%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

src/vroom/input/input.py Outdated Show resolved Hide resolved
jonathf and others added 2 commits April 25, 2022 09:28
Instead of pre-declaring amount_capacity in init, allow it to be None,
and instead verify it after it when the vehicles come in.
@jonathf jonathf merged commit 66f547b into main Apr 25, 2022
@jonathf jonathf deleted the capacity_def branch April 25, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants