Apply suggestions from code review

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Richard Hudson 2021-12-29 09:21:23 +01:00 committed by GitHub
parent e3e8495b41
commit 678bc61086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ class AttributeFormat:
render_all_colors_within_values: when rendering a table, self.fg_color and self.bg_color are rendered in Wasabi.
This argument is set to True when rendering a text to signal that colors should be rendered here.
whole_row_fg_color: a foreground color used for the whole row. This takes precedence over value_dependent_fg_colors.
whole_row_bg_color: a background color used for the whole row. This takes precedence over value_dependent_fg_colors.
whole_row_bg_color: a background color used for the whole row. This takes precedence over value_dependent_bg_colors.
"""
obj = token
parts = self.attribute.split(".")