LB001#

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

Bases: Labels

The .github/labeler.yml file exists.

Overview#

check

Return whether the labeler configuration exists.

Import detail#

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

Method detail#

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

Return whether the labeler configuration exists.