Static type checker #3

Open
opened 2020-12-13 17:49:34 +01:00 by flukx · 1 comment
Owner

Type annotations are used at most code. This is nice but it would be more helpful if they are checked as well. So a static type checker would be nice to have. Maybe it's just about documenting in the README how to run one.

MyPy seems to be the standard but I don't know if it's the best.

Type annotations are used at most code. This is nice but it would be more helpful if they are checked as well. So a static type checker would be nice to have. Maybe it's just about documenting in the README how to run one. `MyPy` seems to be the standard but I don't know if it's the best.
Author
Owner

One thing to do my MyPy would be to annotate the imported modules or supply type hints.

One thing to do my MyPy would be to annotate the imported modules or [supply type hints](https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: flukx/moneyusage#3
No description provided.