robotpy / robotpy-wpilib

Moved to https://github.com/robotpy/mostrobotpy
https://robotpy.github.io
Other
169 stars 59 forks source link

Add `__repr__` for geometry and Color* #634

Closed auscompgeek closed 3 years ago

auscompgeek commented 4 years ago

The geometry classes have defaults in a bunch of places and are used as defaults in a bunch of other places, so it would be sensible to make the default readable. Color and Color8Bit are simple enough as well.

These should have a repr similar to dataclasses, IMO.

auscompgeek commented 3 years ago

Done last year.