Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3k
Improve error messages for missing annotations (return type + arguments)#19125
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
Open
charulatalodha wants to merge21 commits intopython:masterChoose a base branch fromcharulatalodha:master
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.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes from2 commits
Commits
Show all changes
21 commits Select commitHold shift + click to select a range
766d4e7
syntax error messages capitalization
charulatalodhac48241d
Capitalise only first non space word in syntax err msg
afc2385
Merge branch 'master' into master
charulatalodha250f0f2
Update fastparse.py
amansomethinga4dcdf5
Merge pull request #1 from amansomething/patch-1
charulatalodhaa791f96
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]45d0000
Fix Test suite py39-windows-64, py39-ubuntu, mypyc-compiled
1a53c8f
Merge branch 'master' into master
charulatalodha40e3eb5
Merge branch 'python:master' into master
charulatalodha0eb4a99
update check_for_missing_annotations to give note for None return typ…
284fe23
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]7b89fd9
fix err code for ARGUMENT_TYPE_EXPECTED NO_UNTYPED_DEF
a14d4a2
Merge branch 'master' of https://github.com/charulatalodha/mypy
54eed1a
update FUNCTION_TYPE_EXPECTED err handling, update tests
547b546
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]e3bba27
fix logic for return type annotation vs type annotation for when fdef…
e0d5071
Merge branch 'master' of https://github.com/charulatalodha/mypy
d5cefb8
fix test
e21aa69
Merge branch 'master' into master
charulatalodha86710b0
Merge branch 'master' into master
charulatalodha66d0c4b
Merge branch 'master' into master
charulatalodhaFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 3 additions & 3 deletionsmypy/checker.py
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.
Uh oh!
There was an error while loading.Please reload this page.
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.