-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Verify type hints for Bot method & class parameters #3868
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 all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
fa4d412
Add type checking for method parameters (initial version)
harshil21 0d58c76
Make type hint of user_id as int only
harshil21 9bec96d
update tests readme to tell python version needed to run test_official
harshil21 3ed9e5d
Add type checking of parameters for classes
harshil21 02b5060
Correct type hints found by new checker
harshil21 4a9adc1
Fix other tests
harshil21 9a1c2c6
fix deepsource
harshil21 ae11a50
Review: deprecationwarnings and minor formatting changes to test_offi…
harshil21 3030b3c
Review: deprecation for file_date & override to_dict
harshil21 9032620
oops I broke few things, so here's the fix
harshil21 2ba821f
Review: v22 -> future major versions
harshil21 5ac6711
Review: some refactoring + warning
harshil21 0bb6b8b
Review: use re.VERBOSE, make InlineKeyboardMarkup forwardref again
harshil21 e8c71a5
simplify return statment
harshil21 eb9d001
fix tests
harshil21 c1252b8
Merge branch 'master' into improve-test-official
Bibo-Joshi 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
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.