DB022#

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

Bases: Dependabot

Referenced registries are defined and use secure URLs.

Overview#

check

Error on insecure registry URLs and warn on missing registry mappings.

Import detail#

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

Method detail#

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

Error on insecure registry URLs and warn on missing registry mappings.