PM018#

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

Bases: ProjectMetadata

The project includes a tests directory.

Overview#

check

Return whether a test directory is present.

Import detail#

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

Method detail#

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

Return whether a test directory is present.