Make mypy as strict as practical #13

Merged
alexander merged 32 commits from stricter-mypy into develop 2026-12-01 14:26:52 +01:00

2026-12-01

Type the time series of OrderHistory as pd.Series[int]
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m55s
2026-12-01 14:23:14 +01:00
Enable "warn_unreachable"
Also, remove the dead `isinstance()` check in `Location.relate_to()`
2026-12-01 13:07:53 +01:00
Type the relationships of ReplayedOrder
Also, move the `db` import to the top, which makes some quotes unnecessary
2026-12-01 12:38:03 +01:00
Type the relationships of Forecast
Also, move the `db` import to the top
2026-12-01 12:38:02 +01:00
Replace the __future__ imports ...
... with quoted annotations where needed
2026-12-01 12:38:00 +01:00
Enable "no_implicit_reexport"
Also, remove the unused `orm_exc` import alias
2026-12-01 12:37:46 +01:00