Alex Waygood
Alex Waygood
We currently have a very specific test for chained comparisons on lines 506-508: https://github.com/PyCQA/flake8-pyi/blob/34c17bd7d847905aacf4705dfc95e25ab12ce432/pyi.py#L506-L508 However, we then give a generic error message: `"Y002 If test must be a simple comparison...
With regards to the numeric tower, PEP 484 [states](https://peps.python.org/pep-0484/#the-numeric-tower): > [PEP 3141](https://peps.python.org/pep-3141/) defines Python’s numeric tower, and the stdlib module `numbers` implements the corresponding ABCs (`Number`, `Complex`, `Real`, `Rational` and...
## Summary - Update the script so that it works over https - Use a shallow clone so that it doesn't take so long ## Test Plan Before these changes,...
Seems like there's something up with the ecosystem check when it runs on typeshed currently. We've had issues on several PRs where the ecosystem check has produced surprising results that...
When implementing PEP 696 (default values for TypeVars, ParamSpecs and TypeVarTuples, we decided to implement the PEP slightly differently from the prototype that existed in `typing_extensions`. Specifically: - With the...
We've discovered that if you manually type out a condition that evaluates to `False` in the new REPL, `False` is printed as the result, as expected... ```pycon >>> (3, 13,...
## Change Summary When implementing PEP 696 (default values for TypeVars, ParamSpecs and TypeVarTuples, we decided to implement the PEP slightly differently from the prototype that existed in `typing_extensions`. Specifically:...
We should update UP035 to emit a diagnostic if `--target-version=py313` has been selected and a user imports `typing.TypeIs`, `warnings.deprecated`, `typing.ReadOnly`, `typing.NoDefault` `typing.get_protocol_members` or `typing.is_protocol` from `typing_extensions` rather than `typing` _Originally...
Reproducer from inside a typeshed clone: ```pycon >>> import typeshed_client >>> from pathlib import Path >>> context = typeshed_client.finder.get_search_context(typeshed=Path("stdlib"), search_path=[Path("stubs/six")], version=(3, 11)) >>> typeshed_client.get_stub_names("six.moves.collections_abc", search_context=context) Traceback (most recent call last):...