PC010#

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

Bases: PreCommit

Trailing-whitespace is configured.

Overview#

check

Recommend the trailing-whitespace hook when it is not configured.

Import detail#

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

Method detail#

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

Recommend the trailing-whitespace hook when it is not configured.