-
Notifications
You must be signed in to change notification settings - Fork 144
refactor: update to py39 typehints and removeprefix #1396
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
Open
onerandomusername
wants to merge
20
commits into
master
Choose a base branch
from
refactor/update-to-py39-typehints
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
586f5a8
feat: drop python 38 support
onerandomusername 974b84d
typehint update
onerandomusername 6c0aa52
fix: still have to test old annotations
onerandomusername fc1b782
chore: add changelog
onerandomusername a7a87c1
revert typing changes
onerandomusername a0e1c9c
style: re-enable py39 rules
onerandomusername 40a41b7
style: run autofix
onerandomusername e1a0bab
style: manual 3.9 fixes
onerandomusername e9b8ee4
docs: add changelog entries
onerandomusername 1ae91c9
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername b4d63c0
fix: tests
onerandomusername 45336cf
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername f6e1c1b
fix: List to list
onerandomusername 223f480
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername 066286a
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername 18c8900
chore: modernize comments in flag converter
shiftinv 917a38f
Update changelog/1396.misc.rst
onerandomusername fa2de56
Update disnake/message.py
onerandomusername d23e519
fix: don't double assign self.endpoint
onerandomusername ca6deeb
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update all type hints across the source code to use PEP 604 style (``A | B`` instead of ``Union[A, B]``, and ``A | None`` instead of ``Optional[A]``). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
X | Y
is 3.10 syntax, not 3.9There 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.
Truth truth. This changelog is intended for a different pull request.