LB009#

class src.ansys.pre_commit_hooks.quality_rules.labels.LB009#

Bases: Labels

Labels.yml labels have a valid color.

Overview#

check

Check that every label has a six-digit hexadecimal color.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.labels import LB009

Method detail#

static LB009.check(repository_root: pathlib.Path, readme_file: str | None) → ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#

Check that every label has a six-digit hexadecimal color.