4 ms·
* Third party libraries: I sometimes see them annotated, but what people don't suspect, is that you need to include 'py.typed' file with your package in order f
by karlicoss 7y ago
* Third party libraries: I sometimes see them annotated, but what people don't suspect, is that you need to include 'py.typed' file with your package in order for it to be discoverable. Perhaps that's something setuptools could warn the developer about..
* Regarding errors: there are few quite recent flags: ' --pretty', '-show-error-context' and '--show-error-codes', they make it a bit more pleasant. You can see me using them in this section: https://beepb00p.xyz/mypy-error-handling.html#container https://beepb00p.xyz/mypy-error-handling.html#container
- staticassertion 7y agoThe 'py.typed' thing is extremely unintuitive, I package up python libs and I'm still not sure I've done it right. Thank you for letting me know about those flags, I had not heard of them before!