LB011#

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

Bases: Labels

Labels.yml has a dependencies label.

Overview#

check

Return whether the dependencies label used by Dependabot is declared.

Import detail#

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

Method detail#

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

Return whether the dependencies label used by Dependabot is declared.