Alex Waygood

Results 892 comments of Alex Waygood

> The link of `Allowlist of errors for the stdlib` is dead. We keep them here these days: https://github.com/python/typeshed/tree/main/stdlib/%40tests/stubtest_allowlists. If you fancy helping out with updating our stubs for py313...

Looks like you're running into https://github.com/python/mypy/issues/16367. It's been fixed on mypy `master`, but the fix hasn't yet been included in a mypy release.

> Looks like you're running into [python/mypy#16367](https://github.com/python/mypy/issues/16367). It's been fixed on mypy `master`, but the fix hasn't yet been included in a mypy release. Oh sorry, you already noted as...

dang, not enough almonds in open source these days

Maybe we should be pinning the uv version we install in the setup-uv action to the same version we have in requirements-tests.txt

it looks like we might be spending a looooong time building some third-party-stub non-types dependencies from source as part of `mypy_test.py` if we run it on Python 3.14...

I don't think suggesting the code in the error message would make the message _very_ long: ```diff -test.py:1:4: PGH004 Use specific rule codes when using `noqa` +test.py:1:4: PGH004 Use `noqa:...

This seems reasonable to me. PR welcome.

The discussions in https://github.com/python/cpython/issues/134706 and https://github.com/sphinx-doc/sphinx/pull/13595 make me think that we should update the new `Writer` protocol in CPython and typing-extensions so that `Writer.write()` returns `object` rather than `int`. I...

> And anyway, this discussion is off topic for this PR. `_typeshed.SupportsWrite` should go, no matter whether `io.Writer` is changed or not. I think the discussion is pretty on-topic. Looking...