git is the source of truth for the copyright, copyrite (the tool)
was taking exponentially longer with each release, and it's
polluting the code with sometime as much as 50 lines of names.
Some functions can't be cached without impacting the correctness
with the current design.
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Bump python_requires to >= 3.6.2
* Import typing names directly
* Use typing.NamedTuple for MessageTest
* Add default value to MessageStyle
* Revert "Add an exception at install for python < 3.6.2 (#5171)"
This reverts commit 37e330cadd.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add type annotations to ``visit`` & ``leave`` calls
This adds typing to most calls that visit nodes. All other changes are
due to mypy errors resulting from introduction of typing.
* Fix outstanding mypy issues
This removes some of the `type: ignore` comments in favour of
solving the mypy issues these comments were surpressing.
* Fix remaining references to node_classes
Except for two references to node_classes in the changelog this should be the last of them
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>