PM002#

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

Bases: ProjectMetadata

CHANGELOG.md exists or doc/source/changelog.rst has a title and content.

Overview#

check

Check the Markdown changelog or validate the RST fallback.

Import detail#

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

Method detail#

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

Check the Markdown changelog or validate the RST fallback.