PM009#

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

Bases: ProjectMetadata

Pyproject.toml declares README content and referenced files exist.

Overview#

check

Validate static README declarations and setuptools dynamic file references.

Import detail#

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

Method detail#

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

Validate static README declarations and setuptools dynamic file references.