typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
In 3.10 `signum` was added as an argument: https://github.com/python/cpython/pull/24755/
`ruamel.yaml` is a fork of [PyYAML](https://github.com/yaml/pyyaml/) which features [a new API](https://yaml.readthedocs.io/en/latest/api/) and can perform [round-trip conversion](https://en.wikipedia.org/wiki/Round-trip_format_conversion) preserving the original format and comments. It also claims to have fixed various issues...
Release: https://pypi.org/pypi/python-datemath/3.0.1 Homepage: https://github.com/nickmaccarthy/python-datemath Repository: https://github.com/nickmaccarthy/python-datemath Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/python-datemath Diff: https://github.com/nickmaccarthy/python-datemath/compare/v1.5.5...v3.0.1 Stubsabot analysis of the diff between the two releases: - 0 public Python files have been added. - 0...
Added rules: `PYI014`, `PYI015`, `PYI030`, `PYI036`, `PYI044`, `PYI062` I originally split this into 3 sections (`Fix is always available.`, `Fix is sometimes available.`, and `We sometimes noqa these`), but I'm...
I noticed in https://github.com/python/typeshed/pull/12572#discussion_r1725538408 that more of these protocols could be re-used. - I updated *all* non-runtime protocols I could find as it's easier to pull back changes and gives...
Fixes #12562
Since NumPy 2.1 all subtypes of `numpy.number` implement `__lt__` that returns a `numpy.bool` (which isn't a `builtins.bool`), matching the runtime behavior (https://github.com/numpy/numpy/pull/26942). But as was noticed in https://github.com/numpy/numpy/issues/27251, the consequence...
Closes #12511 This is so much faster on Windows, takes a few seconds to run (including downloads and pre-commit). Compared to the over 1m it used to take me on...