Alex Waygood

Results 901 comments of Alex Waygood

> I imported `Final` from the wrong location, ran the scripts locally which told me it was all good on Python 3.8+. But it failed on the CI on Python...

> I think moving forward the whole testing process needs to be simplified, otherwise every addition will require a lot of tricky stuff and duplication of code. One way of...

Note that when it comes to pyright, we don't even use a script in CI. We have `tests/pyright_test.py`, and we used to use that in CI, but nowadays it's purely...

We've had that very occasionally before on that test. It's so rare, though, that it doesn't seem to me like we need to worry about it much. YMMV, though (obviously...

I'll try to take a look at this today, sorry for the radio silence!

Here's the first run that used Python 3.12: https://github.com/python/typeshed/actions/runs/8206228752/job/22444848542 And here's the one immediately before that, which used Python 3.11: https://github.com/python/typeshed/actions/runs/8206219736/job/22444819614?pr=11524

I haven't investigated really yet (and probably won't have time until this evening at the earliest), but here's a few hypotheses I can think of: 1. Some stdlib function we're...

Hi! You're very welcome to reuse my scripts 🙂 (I'd appreciate some credit if you want to contribute them to somewhere like pyupgrade, though.) A few caveats/words of caution: -...

> I've only started to dabble into AST manipulation recently It's _highly_ addictive once you get into it 😃 > Any idea how much work it would be to adopt...

Here's some of the checks that could pretty easily apply to a `.py` file as well as a `.pyi` file: - Y016 (unions shouldn't contain duplicates) - Y018 (`TypeVar`s, `ParamSpec`s...