3 ms·
> Type hints are basically for documentation and metadata. They are also for static checking. If you choose to run the code despite that failing (which you ca
by dragonwriter 4y ago
> Type hints are basically for documentation and metadata.
They are also for static checking.
If you choose to run the code despite that failing (which you can, because there is no execution dependency on type-checking) that’s a choice, but its kind of odd to complain that Python lets you do that.
- icedchai 4y agoI'm not the original poster and not complaining about it. I once worked at a shop that ran mypy checks as a precommit hook and never really found it terribly useful, but to each their own.