LB015#

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

Bases: Labels

A workflow syncs labels.yml to GitHub.

Overview#

check

Return whether a workflow uses a label synchronization action.

Import detail#

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

Method detail#

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

Return whether a workflow uses a label synchronization action.