PC002#
- class src.ansys.pre_commit_hooks.quality_rules.pre_commit.PC002#
Bases:
PreCommitRuff-pre-commit is configured.
Overview#
Return whether the Ruff repository has configured hooks. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.pre_commit import PC002
Method detail#
- static PC002.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Return whether the Ruff repository has configured hooks.