posit-dev / great-tables

Make awesome display tables using Python.
https://posit-dev.github.io/great-tables/
MIT License
1.9k stars 71 forks source link

Update `__repr__()` for `GoogleFont`, `UnitStr` and `UnitDefinitionList` #471

Closed jrycw closed 1 month ago

jrycw commented 1 month ago

I’d like to propose using type(self).__name__ to represent the class name, rather than hardcoding the class name directly.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.62%. Comparing base (cec3e8d) to head (f3c69c0). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #471 +/- ## ========================================== + Coverage 87.54% 87.62% +0.08% ========================================== Files 42 42 Lines 4840 4840 ========================================== + Hits 4237 4241 +4 + Misses 603 599 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.