LB006#

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

Bases: Labels

Labeler.yml maps labels to match rules.

Overview#

check

Return whether the labeler configuration has a valid structure.

Import detail#

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

Method detail#

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

Return whether the labeler configuration has a valid structure.