:class:`LB014` ============== .. py:class:: src.ansys.pre_commit_hooks.quality_rules.labels.LB014 Bases: :py:obj:`Labels` Labeler.yml labels documentation and workflow changes. .. !! processed by numpydoc !! .. py:currentmodule:: LB014 Overview -------- .. tab-set:: .. tab-item:: Static methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~check` - Check that file globs match documentation and workflow files. Import detail ------------- .. code-block:: python from src.ansys.pre_commit_hooks.quality_rules.labels import LB014 Method detail ------------- .. py:method:: check(repository_root: pathlib.Path, readme_file: str | None) -> ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult :staticmethod: Check that file globs match documentation and workflow files. :Returns: :ref:`bool ` or :class:`python:str` ``True`` when globs match both ``doc/source/index.rst`` and ``.github/workflows/ci_cd.yml``, otherwise a ``"RECOMMENDATION: ..."`` message naming the uncovered changes. .. !! processed by numpydoc !!