News for hackers. Stuff that matters.
Re:Practical Python Programming by ghostwriter on Friday June 19, 2020 @07:21AM (#23573250)
> 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#cmdo...

There are no comments on this comment yet.