LB002#

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

Bases: Labels

The .github/labels.yml file exists.

Overview#

check

Return whether the labels configuration exists.

Import detail#

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

Method detail#

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

Return whether the labels configuration exists.