CI001#

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

Bases: CICD

At least one workflow file exists under .github/workflows.

Overview#

check

Return whether any workflow file exists in the repository.

Import detail#

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

Method detail#

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

Return whether any workflow file exists in the repository.