[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)
1 file changed
tree: 2fe86d5e7b7bcbc0515ab98a3567488392ca2ff2
  1. .github/
  2. doc/
  3. scripts/
  4. src/
  5. .editorconfig
  6. .gitignore
  7. .pre-commit-config.yaml
  8. .readthedocs.yaml
  9. CHANGELOG.md
  10. CONTRIBUTING.md
  11. LICENSE
  12. pyproject.toml
  13. README.md
  14. SECURITY.md
  15. tox.ini
README.md

Typing Extensions

Chat at https://gitter.im/python/typing

Documentation – PyPI

Overview

The typing_extensions module serves two related purposes:

  • Enable use of new type system features on older Python versions. For example, typing.TypeGuard is new in Python 3.10, but typing_extensions allows users on previous Python versions to use it too.
  • Enable experimentation with new type system PEPs before they are accepted and added to the 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.

Included items

See the documentation for a complete listing of module contents.

Contributing

See CONTRIBUTING.md for how to contribute to typing_extensions.