Skip to content
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

Rename Report.__repr__() to Report.dump_json() #97

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Rename Report.__repr__() to Report.dump_json() #97

merged 1 commit into from
Jun 11, 2024

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Jun 11, 2024

This PR builds on top of #95.

You shouldn't abuse the __repr__ name like that (to say nothing of the obfuscation from only invoking it via str()).

Copy link

codecov bot commented Jun 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.61%. Comparing base (31bd298) to head (68bb57b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #97      +/-   ##
==========================================
- Coverage   87.36%   86.61%   -0.75%     
==========================================
  Files           1        1              
  Lines         269      269              
  Branches       41       41              
==========================================
- Hits          235      233       -2     
- Misses         26       28       +2     
  Partials        8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@asmacdo asmacdo merged commit 597d1ae into con:main Jun 11, 2024
29 of 30 checks passed
@jwodder jwodder deleted the json-data branch June 11, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants