3 ms·
> but a typed function will gladly accepted an untyped var without complaining this can be made prohibited by MyPy's --strict flag [1], and enforced with a myp
by ghostwriter 6y ago
> but a typed function will gladly accepted an untyped var without complaining
this can be made prohibited by MyPy's --strict flag [1], and enforced with a mypy git pre-commit hook locally, and with a MyPy CI job.
[1] https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict https://mypy.readthedocs.io/en/stable/command_line.html#cmdo...