DB009#

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

Bases: Dependabot

The Dependabot configuration is a valid YAML mapping.

Overview#

check

Return whether the configuration parses as a string-keyed YAML mapping.

Import detail#

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

Method detail#

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

Return whether the configuration parses as a string-keyed YAML mapping.