DB004#

class src.ansys.pre_commit_hooks.quality_rules.dependabot.DB004#

Bases: Dependabot

GitHub Actions dependency updates are configured.

Overview#

check

Return whether GitHub Actions updates are configured.

Import detail#

from src.ansys.pre_commit_hooks.quality_rules.dependabot import DB004

Method detail#

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

Return whether GitHub Actions updates are configured.