PM015#
- class src.ansys.pre_commit_hooks.quality_rules.project_metadata.PM015#
Bases:
ProjectMetadataThe .github/CODEOWNERS file contains at least one valid owner entry.
Overview#
Return whether the CODEOWNERS file contains at least one valid ownership entry. |
Import detail#
from src.ansys.pre_commit_hooks.quality_rules.project_metadata import PM015
Method detail#
- static PM015.check(repository_root: pathlib.Path, readme_file: str | None) ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult#
Return whether the CODEOWNERS file contains at least one valid ownership entry.