News for hackers. Stuff that matters.
Re:Statically-typed error handling in Python using Mypy by karlicoss on Sunday December 08, 2019 @02:31PM (#21737700)
* 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

Re:Statically-typed error handling in Python using Mypy by staticassertion on Sunday December 08, 2019 @02:33PM (#21737716)
The '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!