PM011#

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

Bases: ProjectMetadata

Project name follows the ansys-- convention.

Overview#

check

Return whether the project name matches the PyAnsys naming convention.

Import detail#

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

Method detail#

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

Return whether the project name matches the PyAnsys naming convention.