-
-
Notifications
You must be signed in to change notification settings - Fork 933
Drop 3.6, increase type strictness #1311
New issue
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
Conversation
doc/source/intro.rst
Outdated
* `Git`_ 1.7.0 or newer | ||
It should also work with older versions, but it may be that some operations | ||
involving remotes will not work as expected. | ||
* `GitDB`_ - a pure python git database implementation | ||
* `typing_extensions`_ >= 3.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to requirements.txt this should be "typing-extensions>=3.7.4.3;python_version<"3.10""
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9" | ||
"Programming Language :: Python :: 3.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also add "Typing :: Typed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, added it, and fixed intro
Drop 3.6, per discussion.
Add some mypy configs to increase strictness
Type fixes for stricter config.
Replace some Any types with the runtime results from tests
Try out
__future__.annotations
and|
union syntaxReady for next release I think, except needs to be tested against 3.7.0 or 3.7.1 on linux
(I'm on Windows atm, so tests are dodgy).