News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by np_tedious on Thursday April 21, 2022 @08:26PM (#31116828)
> I'm not even using mypy often, if ever.

Hopefully your CI does?

Re:Python’s “type hints” are a bit of a disappointment to me by Spivak on Friday April 22, 2022 @10:06AM (#31121690)
It's not really as necessary as you think -- making mypy/pyright pass your CI ends up being a lot of busy work to make the type checker happy when, to me, all the value is realized when it's used as a development aid. If your test suite passes that's honestly more than good enough.
Re:Python’s “type hints” are a bit of a disappointment to me by icedchai on Friday April 22, 2022 @06:33PM (#31129046)
You have the right attitude. I have worked with delusional individuals who one day "soon" expect to mypy check their entire several hundred thousand line legacy code base. This is supposed to be a boon to developer productivity. I hope it outweighs what was lost getting to this point.
Re:Python’s “type hints” are a bit of a disappointment to me by linsomniac on Thursday April 21, 2022 @08:41PM (#31116929)
Not yet, but that might be coming. I have one personal project set up to run mypy as a pre-commit, but I'm not (quite) ready to force that on my coworkers.