Alex Waygood

Results 902 comments of Alex Waygood

> @AlexWaygood I'll try and find some time for this somewhere this weekend. Great, thank you! > What's the policy for version differences... Typeshed only ever has stubs for the...

It looks like we already have `_utils.Unset` in the stub: https://github.com/python/typeshed/blob/21f26ab4f36cbbc8a29113234e3c7d0690f66ced/stubs/jsonschema/jsonschema/_utils.pyi#L15 So yeah, I'd just import it from `_utils.pyi`, mimicking the runtime exactly :)

Yes, @sirosen has been quite involved with the effort to add type hints to jsonschema! I believe the plan is to develop typeshed's stubs and the upstream annotations in tandem,...

We should remember to do https://github.com/python/typeshed/issues/10142 when we do this (it can't be done before, or pyright will start flagging discrepancies between the inline types in `urllib3` and the stubs...

> Mind to elaborate on the reason? Wherever possible, stubs packages should be extremely minimal packages that are easy to install, have minimal dependencies, contain no executable code, contain minimal...

> Or I can wait for mypy to support the `/` syntax for positional-only arguments. Which I assume may happen with Python 3.7 EOL next year. Yeah, I'm tempted to...

Ruff seems cool in many ways, but we definitely can't switch to ruff at typeshed. Flake8-pyi is by far the most important flake8 plugin for typeshed, and it's an important...

Closing due to lack of response from OP

I'd love to see it completed as well, but just haven't had the time to work on it lately, with all the other typeshed-related things going on :( If you...