CI009#

class src.ansys.pre_commit_hooks.quality_rules.cicd.CI009#

Bases: CICD

The tests-pytest action is used.

Overview#

check

Return whether the tests-pytest action is used.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.cicd import CI009

Method detail#

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

Return whether the tests-pytest action is used.