PM021#

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

Bases: ProjectMetadata

The AUTHORS file contains compliant contributor ownership information.

Overview#

check

Return whether AUTHORS includes at least one entry and the corporate owner.

Import detail#

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

Method detail#

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

Return whether AUTHORS includes at least one entry and the corporate owner.