PC006#
- class src.ansys.pre_commit_hooks.quality_rules.pre_commit.PC006#
Bases:
PreCommitA pyright, mypy, or ty type-checking hook is configured.
Overview#
Recommend a pyright, mypy, or ty hook when none is configured. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.pre_commit import PC006
Method detail#
- static PC006.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Recommend a pyright, mypy, or ty hook when none is configured.