PM030#

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

Bases: ProjectMetadata

The configured backend is represented in build-system.requires.

Overview#

check

Return whether the selected backend package appears in build requirements.

Import detail#

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

Method detail#

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

Return whether the selected backend package appears in build requirements.