:class:`Dependabot` =================== .. py:class:: src.ansys.pre_commit_hooks.quality_rules.dependabot.Dependabot Bases: :py:obj:`abc.ABC` Dependabot rule family with independent, typed repository checks. .. !! processed by numpydoc !! .. py:currentmodule:: Dependabot Overview -------- .. tab-set:: .. tab-item:: Abstract methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~check` - Evaluate a Dependabot rule. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~family` - Import detail ------------- .. code-block:: python from src.ansys.pre_commit_hooks.quality_rules.dependabot import Dependabot Attribute detail ---------------- .. py:attribute:: family :type: ClassVar[str] :value: 'dependabot' Method detail ------------- .. py:method:: check(repository_root: pathlib.Path, readme_file: str | None) -> ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult :staticmethod: :abstractmethod: Evaluate a Dependabot rule. :Parameters: **repository_root** : :obj:`pathlib.Path` Repository root directory. **readme_file** : :class:`python:str` or :data:`python:None` Detected README path, unused by this family. :Returns: :ref:`bool ` or :class:`python:str` Raw result consumed by the quality-report runner. .. !! processed by numpydoc !!