PM029#

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

Bases: ProjectMetadata

The build backend is explicitly defined.

Overview#

check

Return whether build-backend is configured in pyproject.toml.

Import detail#

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

Method detail#

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

Return whether build-backend is configured in pyproject.toml.