-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Flush error messages incrementally after processing a file #4396
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 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4b38029
Flush error messages incrementally after processing a file
msullivan 76f945f
Add more tests and stream blocking errors as well
msullivan 310611d
Check for streaming errors matching in testcheck
msullivan 059de14
Don't use variable type annotations
msullivan c9a5a96
Flush the file buffers after writing for better behavior when wrapped
msullivan 76bb7f8
ditch the decorator
msullivan 5c9abec
Eliminate the indexing
msullivan 844d5ca
Drop plugin part of the test, do test cleanup
msullivan c9d2355
Remove error_files
msullivan 699ba0b
fix a variable name
msullivan 376982d
Ditch the caching system, run all error aggregation through the callback
msullivan caa8477
Get rid of the .messages() method
msullivan 92dfc2d
Key errors based on origin file
msullivan cc64198
Perform various cleanups
msullivan 548078c
update warn_unused_ignores documentation
msullivan 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
Perform various cleanups
- Loading branch information
commit cc64198041dcd6698535522c33f08a79b360d9da
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,8 +396,10 @@ m.A(x=1) | |
class A: | ||
def __init__(self) -> None: | ||
pass | ||
|
||
[out] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider adding a comment ( |
||
-- Note that the messages appear "out of order" because the m.py:3 | ||
-- message is really an attachment to the main:2 error and should be | ||
-- reported with it. | ||
tmp/m.py:1: error: Unsupported operand types for + ("int" and "str") | ||
main:2: error: Unexpected keyword argument "x" for "A" | ||
tmp/m.py:3: note: "A" defined here |
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.
Oh, now the docs also need to be updated (it has separate sections for global and per-module flags).