-
Notifications
You must be signed in to change notification settings - Fork 74
Modify PyTA report messages #1356
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
david-yz-liu
merged 20 commits into
pyta-uoft:master
from
rachelzUT:modify-report-messages
Jun 19, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
9919094
modify plaintext PyTA Report messages
rachelzUT 957b250
modify html report's 'good job' message
rachelzUT 480edbf
edited HTML report template with new logic
rachelzUT dad99a0
updated changelog
rachelzUT 87e60a7
added style for the no errors message
rachelzUT 351d439
updated html report test, used monkeypatch for random emojis
rachelzUT ccb48cd
updated html report tests
rachelzUT f297c2e
Merge branch 'master' of https://github.com/pyta-uoft/pyta into modif…
rachelzUT e9d6535
updated html reporter emojis
rachelzUT 395c705
revert tests
rachelzUT b6f9576
updated changelog
rachelzUT c48e7dc
edit html tests
rachelzUT a189f83
fixed blank lines
rachelzUT 0409788
edited template indentation
rachelzUT 18765a8
fixed template indentation issues
rachelzUT e27fd85
trim leading whitespace
rachelzUT 691b906
updated tests
rachelzUT 5aa0bf3
edited properties to be in alphabetical order
rachelzUT b491de0
moved emojis list and no_err_message method into core.py
rachelzUT 7c26bec
Merge branch 'master' of https://github.com/pyta-uoft/pyta into modif…
rachelzUT 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
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
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.
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.
We need to also display this message if
level == "error"and there are no code messages, even when there are style messages. (This is also true of the HTML Reporter, so please double-check that.)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.
I made this change to
plain_reporter.py. For the HTML reporter, thelevelargument doesn't appear to actually be utilized or affect the output, since the report is produced bydisplay_messageswhich doesn't even acceptlevelas an argument.pyta/packages/python-ta/src/python_ta/reporters/html_reporter.py
Lines 55 to 60 in 39191ca