ewels / rich-click

Format click help output nicely with rich.
https://ewels.github.io/rich-click/
MIT License
628 stars 37 forks source link

Unit test covering `RichContext` parent inheritance. #127

Closed dwreeves closed 7 months ago

dwreeves commented 1 year ago

rich_config inside of RichGroups should pass to objects created by RichGroup.command and RichGroup.group, when said objects do not have their own rich_config. This is done via the RichContext inheriting attributes from the parent context.

This behavior is currently working in the latest dev version, but it is not enforced in tests and it should be.

dwreeves commented 7 months ago

I do believe this is being tested now. Or maybe I meant something else when I typed this out way back when. Who knows.