PM008#

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

Bases: ProjectMetadata

The .github/CODEOWNERS file exists.

Overview#

check

Return whether the CODEOWNERS file is present.

Import detail#

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

Method detail#

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

Return whether the CODEOWNERS file is present.