:class:`VL016` ============== .. py:class:: src.ansys.pre_commit_hooks.quality_rules.vale.VL016 Bases: :py:obj:`Vale` The Vale styles .gitignore preserves configured vocabulary files. .. !! processed by numpydoc !! .. py:currentmodule:: VL016 Overview -------- .. tab-set:: .. tab-item:: Static methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~check` - Check the ignore patterns of ``/.gitignore``. Import detail ------------- .. code-block:: python from src.ansys.pre_commit_hooks.quality_rules.vale import VL016 Method detail ------------- .. py:method:: check(repository_root: pathlib.Path, readme_file: str | None) -> ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult :staticmethod: Check the ignore patterns of ``/.gitignore``. :Returns: :ref:`bool ` or :class:`python:str` ``True`` when the file contains a complete supported pattern set, otherwise a ``"WARNING: ..."`` message naming missing patterns. .. !! processed by numpydoc !!