PM019#

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

Bases: ProjectMetadata

The project supports a task runner such as nox, tox, or pixi.

Overview#

check

Return whether a task runner is configured for the project.

Import detail#

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

Method detail#

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

Return whether a task runner is configured for the project.