-
Notifications
You must be signed in to change notification settings - Fork 149
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
26 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 754e8cf
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername bd30e4e
docs: reword changelog
onerandomusername 94614f5
Merge branch 'master' into refactor/update-to-py39-typehints
onerandomusername 7151da0
apply suggestions from @Enegg
onerandomusername a1d4389
fix RET errors
onerandomusername 53048bb
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]). | ||
onerandomusername marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.