DB015#

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

Bases: Dependabot

Every update entry declares target-branch.

Overview#

check

Warn when target-branch is missing or invalid.

Import detail#

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

Method detail#

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

Warn when target-branch is missing or invalid.