PC005#

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

Bases: PreCommit

Ansys/pre-commit-hooks is configured.

Overview#

check

Return whether the shared Ansys repository has configured hooks.

Import detail#

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

Method detail#

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

Return whether the shared Ansys repository has configured hooks.