[pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 → f12be1ebaa5351c1fc76472de98db2c3446c8253](https://github.com/astral-sh/ruff-pre-commit/compare/c59bba8fb259db0fec2bbb77ad8ba51ea7341b56...f12be1ebaa5351c1fc76472de98db2c3446c8253) - [github.com/python-jsonschema/check-jsonschema: 6b63472e72e1a91ed8a2f6d483790dfb644fa1d3 → 4f85d46a92dc17713078e5de73f8a13190edf6fc](https://github.com/python-jsonschema/check-jsonschema/compare/6b63472e72e1a91ed8a2f6d483790dfb644fa1d3...4f85d46a92dc17713078e5de73f8a13190edf6fc) - [github.com/abravalheri/validate-pyproject: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 → 17e12779811926f000bdfa1795f9e3735dd71ac3](https://github.com/abravalheri/validate-pyproject/compare/4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7...17e12779811926f000bdfa1795f9e3735dd71ac3) - [github.com/woodruffw/zizmor-pre-commit: e3eebf65325ccc992422292cb7a4baee967cf815 → fa412071e4f5d44d44f9e365f4676f9df92456a2](https://github.com/woodruffw/zizmor-pre-commit/compare/e3eebf65325ccc992422292cb7a4baee967cf815...fa412071e4f5d44d44f9e365f4676f9df92456a2)
The typing_extensions module serves two related purposes:
typing.TypeGuard is new in Python 3.10, but typing_extensions allows users on previous Python versions to use it too.typing module.typing_extensions is treated specially by static type checkers such as mypy and pyright. Objects defined in typing_extensions are treated the same way as equivalent forms in typing.
typing_extensions uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it‘s safe to depend on typing_extensions like this: typing_extensions ~=x.y, where x.y is the first version that includes all features you need. This is equivalent to typing_extensions >=x.y, <(x+1). Do not depend on ~= x.y.z unless you really know what you’re doing; that defeats the purpose of semantic versioning.
See the documentation for a complete listing of module contents.
See CONTRIBUTING.md for how to contribute to typing_extensions.