general/ci: mypy check tests
This commit is contained in:
parent
c63177e186
commit
07e7c62d02
7 changed files with 37 additions and 14 deletions
|
@ -4,7 +4,7 @@ from datetime import date, time
|
|||
|
||||
# todo private test.. move away
|
||||
def test_tz() -> None:
|
||||
from my.jawbone import sleeps_by_date
|
||||
from my.jawbone import sleeps_by_date # type: ignore[attr-defined]
|
||||
sleeps = sleeps_by_date()
|
||||
for s in sleeps.values():
|
||||
assert s.sleep_start.tzinfo is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue