DB012#

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

Bases: Dependabot

Every update entry has a supported schedule interval.

Overview#

check

Validate schedule structure, including the required cronjob for cron intervals.

Import detail#

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

Method detail#

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

Validate schedule structure, including the required cronjob for cron intervals.