PM016#

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

Bases: ProjectMetadata

Project declares a minimum supported Python version; an upper bound is optional.

Overview#

check

Return whether Python support has valid syntax and an explicit lower bound.

Import detail#

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

Method detail#

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

Return whether Python support has valid syntax and an explicit lower bound.