-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Needs DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checking
Milestone
Description
This means we can address
type hints are executed at module import time, which is not computationally free.
(from https://www.python.org/dev/peps/pep-0563/), as well as use the more modern syntax of Python
This is easy to automate, just checking there's no downsides to putting this everywhere. Should any files (probably __init__.py
, any others?) be excluded? cc @simonjayhawkins
Metadata
Metadata
Assignees
Labels
Needs DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionTypingtype annotations, mypy/pyright type checkingtype annotations, mypy/pyright type checking