PM022#

class src.ansys.pre_commit_hooks.quality_rules.project_metadata.PM022#

Bases: ProjectMetadata

The CONTRIBUTORS.md file includes lead and main contributors sections.

Overview#

check

Return whether CONTRIBUTORS.md includes lead and contributor details.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.project_metadata import PM022

Method detail#

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

Return whether CONTRIBUTORS.md includes lead and contributor details.