We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type hints are documented in docstings and un-analyzable with type checker.
pyright
mypy
pytype
To keep backward compatibility, from __future__ import annotations and typing_extension library may be used.
from __future__ import annotations
typing_extension
The text was updated successfully, but these errors were encountered:
We may need the sphinx.ext.autodoc.typehints extension to show types in documentation. https://github.com/tox-dev/sphinx-autodoc-typehints
sphinx.ext.autodoc.typehints
Sorry, something went wrong.
sphinx.ext.autodoc.typehints will be used in documentation workflow with #1285.
With "1286,
py.typed should be included.
https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/
No branches or pull requests
Checkbox
Issues of the current workflow
Type hints are documented in docstings and un-analyzable with type checker.
Action items
pyright
,mypy
,pytype
Additional Context
To keep backward compatibility,
from __future__ import annotations
andtyping_extension
library may be used.The text was updated successfully, but these errors were encountered: