PM026#

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

Bases: ProjectMetadata

The project uses a supported modern build backend.

Overview#

check

Check backend support and recommend alternatives to setuptools.

Import detail#

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

Method detail#

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

Check backend support and recommend alternatives to setuptools.