The pitches, teams, and status files all store data from the API, but that we don't want to re-fetch (either to avoid network issues, or to allow customization, or because we need it in a certain format).
This PR updates:
Pitches
Added Sweeper
Removed "Slutter"
Updated Slurve abbreviation to SV
Statuses
Removed unused statuses (mostly things like "Darkness")
Added new statuses (mostly COVID-19 related, one related to shift violations)
And adds one test file which asserts that our data matches the API results in certain ways. This required a slightly change to data/__init__.py since we were transitively importing driver, which triggered the argparse logic and broke the testing framework.
Subsumes #448
The pitches, teams, and status files all store data from the API, but that we don't want to re-fetch (either to avoid network issues, or to allow customization, or because we need it in a certain format).
This PR updates:
And adds one test file which asserts that our data matches the API results in certain ways. This required a slightly change to
data/__init__.py
since we were transitively importingdriver
, which triggered theargparse
logic and broke the testing framework.