You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our type annotations are patchy and sometimes inconsistent. To address this, we should:
Fix type annotations everywhere in code such that mypy checks pass
Add mypy checks to GitHub build workflow
Consider using strict flag for more stringent checks
Consider relaxing mypy version constraint
Relax mypy import ignores as much as possible i.e. ignore as little as possible in pyproject.toml -> this implies installing some custom stubs such as types-tqdm and pandas-stubs
The text was updated successfully, but these errors were encountered:
atreyasha
changed the title
Add type annotations and mypy CI
Type annotations
Sep 4, 2023
Currently our type annotations are patchy and sometimes inconsistent. To address this, we should:
mypy
checks passmypy
checks to GitHub build workflowstrict
flag for more stringent checksmypy
version constraintmypy
import ignores as much as possible i.e. ignore as little as possible inpyproject.toml
-> this implies installing some custom stubs such astypes-tqdm
andpandas-stubs
The text was updated successfully, but these errors were encountered: