Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Yobmod merged 36 commits intogitpython-developers:mainfromYobmod:main
Aug 3, 2021

Conversation

Yobmod
Copy link
Contributor

@YobmodYobmod commentedAug 2, 2021
edited
Loading

  • 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 syntax

Ready 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).

* `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
Copy link
Contributor

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"
Copy link
Contributor

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"

Copy link
ContributorAuthor

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

kasium reacted with laugh emoji
@YobmodYobmod merged commitfe54118 intogitpython-developers:mainAug 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kasiumkasiumkasium left review comments

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Yobmod@kasium

[8]ページ先頭

©2009-2025 Movatter.jp