LB004#

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

Bases: Labels

Labels.yml has an enhancement label.

Overview#

check

Return whether the enhancement label is declared.

Import detail#

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

Method detail#

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

Return whether the enhancement label is declared.