PC007#

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

Bases: PreCommit

Check-merge-conflict is configured.

Overview#

check

Recommend the check-merge-conflict hook when it is not configured.

Import detail#

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

Method detail#

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

Recommend the check-merge-conflict hook when it is not configured.