-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
dev_tools_prune_errors #860
Merged
+114
−10
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
73f5797
dev_tools_prune_errors
alexcjohnson c250677
changelog for dev_tools_prune_errors
alexcjohnson d4f3e2c
more specific test of user function calls
alexcjohnson 3bab017
update test_props_check for dcc.Checklist change
alexcjohnson ee66038
more direct get_current_traceback import
alexcjohnson 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 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 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 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 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 |
---|---|---|
|
@@ -15,22 +15,22 @@ | |
"fail": True, | ||
"name": 'missing required "value" inside options', | ||
"component": dcc.Checklist, | ||
"props": {"options": [{"label": "hello"}], "values": ["test"]}, | ||
"props": {"options": [{"label": "hello"}], "value": ["test"]}, | ||
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. This is what infuriates me about Percy... OK, here it's just a test problem, not a real bug, but the images were completely different from what they should have been, and got auto-approved, I assume, because the change came from DCC and so likely happened first in master. |
||
}, | ||
"invalid-nested-prop": { | ||
"fail": True, | ||
"name": "invalid nested prop", | ||
"component": dcc.Checklist, | ||
"props": { | ||
"options": [{"label": "hello", "value": True}], | ||
"values": ["test"], | ||
"value": ["test"], | ||
}, | ||
}, | ||
"invalid-arrayOf": { | ||
"fail": True, | ||
"name": "invalid arrayOf", | ||
"component": dcc.Checklist, | ||
"props": {"options": "test", "values": []}, | ||
"props": {"options": "test", "value": []}, | ||
}, | ||
"invalid-oneOf": { | ||
"fail": True, | ||
|
@@ -82,7 +82,7 @@ | |
"component": dcc.Checklist, | ||
"props": { | ||
"options": [{"label": "hello", "value": "test"}], | ||
"values": "test", | ||
"value": "test", | ||
}, | ||
}, | ||
"no-properties": { | ||
|
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.
why the skip is about half of code to the callback stub? just curious about the algorithm
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.
The plaintext traceback has 2 lines for each stack frame: first line lists the file, line #, and function; second line is the actual line of code. +1 gives the first line of the next pair - the first frame we want to report - then /2 gives the number of frames above it.