DB002#

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

Bases: Dependabot

Dependabot uses schema version 2.

Overview#

check

Return whether the schema version is the integer 2.

Import detail#

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

Method detail#

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

Return whether the schema version is the integer 2.