Initial my.time.tz provider, infer from location with daily resolution
This commit is contained in:
parent
dc2518b348
commit
1f2e595be9
6 changed files with 202 additions and 6 deletions
7
tox.ini
7
tox.ini
|
@ -17,6 +17,9 @@ commands =
|
|||
# my.location.google deps
|
||||
pip install geopy ijson
|
||||
|
||||
# my.time.tz.via_location dep
|
||||
pip install timezonefinder
|
||||
|
||||
python3 -m pytest \
|
||||
tests/core.py \
|
||||
tests/misc.py \
|
||||
|
@ -25,7 +28,8 @@ commands =
|
|||
tests/config.py::test_environment_variable \
|
||||
tests/demo.py \
|
||||
tests/bluemaestro.py \
|
||||
tests/location.py
|
||||
tests/location.py \
|
||||
tests/tz.py
|
||||
# TODO add; once I figure out porg depdencency?? tests/config.py
|
||||
# TODO run demo.py? just make sure with_my is a bit cleverer?
|
||||
# TODO e.g. under CI, rely on installing
|
||||
|
@ -63,6 +67,7 @@ commands =
|
|||
-p my.body.exercise.cross_trainer \
|
||||
-p my.bluemaestro \
|
||||
-p my.location.google \
|
||||
-p my.time.tz.via_location \
|
||||
--txt-report .mypy-coverage \
|
||||
--html-report .mypy-coverage \
|
||||
{posargs}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue