PC008#

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

Bases: PreCommit

Debug-statements is configured.

Overview#

check

Recommend the debug-statements hook when it is not configured.

Import detail#

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

Method detail#

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

Recommend the debug-statements hook when it is not configured.