PM025#
- class src.ansys.pre_commit_hooks.quality_rules.project_metadata.PM025#
Bases:
ProjectMetadataThe [build-system] table has a non-empty requires list.
Overview#
Return whether build-system exists and declares at least one requirement. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.project_metadata import PM025
Method detail#
- static PM025.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Return whether build-system exists and declares at least one requirement.