CI003#

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

Bases: CICD

The check-vulnerabilities action is used.

Overview#

check

Return whether the vulnerability check action is used.

Import detail#

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

Method detail#

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

Return whether the vulnerability check action is used.