DB001#

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

Bases: Dependabot

A .github/dependabot.yml or .github/dependabot.yaml file exists.

Overview#

check

Return whether a supported Dependabot configuration file exists.

Import detail#

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

Method detail#

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

Return whether a supported Dependabot configuration file exists.