ewels / rich-click

Format click help output nicely with rich.

Home Page:https://ewels.github.io/rich-click/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit test covering `RichContext` parent inheritance.

dwreeves opened this issue · comments

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.

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