PC004#

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

Bases: PreCommit

Codespell is configured.

Overview#

check

Recommend a codespell hook when none is configured.

Import detail#

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

Method detail#

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

Recommend a codespell hook when none is configured.