PC009#

class src.ansys.pre_commit_hooks.quality_rules.pre_commit.PC009#

Bases: PreCommit

Check-yaml is configured.

Overview#

check

Recommend the check-yaml hook when it is not configured.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.pre_commit import PC009

Method detail#

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

Recommend the check-yaml hook when it is not configured.