:class:`CI001` ============== .. py:class:: src.ansys.pre_commit_hooks.quality_rules.cicd.CI001 Bases: :py:obj:`CICD` At least one workflow file exists under .github/workflows. .. !! processed by numpydoc !! .. py:currentmodule:: CI001 Overview -------- .. tab-set:: .. tab-item:: Static methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~check` - Return whether any workflow file exists in the repository. Import detail ------------- .. code-block:: python from src.ansys.pre_commit_hooks.quality_rules.cicd import CI001 Method detail ------------- .. py:method:: check(repository_root: pathlib.Path, readme_file: str | None) -> ansys.pre_commit_hooks.quality_rules.common.RuleCheckResult :staticmethod: Return whether any workflow file exists in the repository. .. !! processed by numpydoc !!