Skip to content

Commit

Permalink
Remove hooks.yaml and update docs on pre-commit config (#1744)
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
  • Loading branch information
AleksaC and ssbarnea authored Oct 19, 2021
1 parent 7374fdd commit ac4b262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/configuring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ Pre-commit Setup

To use ansible-lint with `pre-commit`_, just add the following to your local
repo's ``.pre-commit-config.yaml`` file. Make sure to change **rev:** to be
either a git commit sha or tag of ansible-lint containing ``hooks.yaml``.
either a git commit sha or tag of ansible-lint containing
``.pre-commit-hooks.yaml``.

.. code-block:: yaml
- repo: https://github.com/ansible-community/ansible-lint.git
rev: ... # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
.. _pre-commit: https://pre-commit.com
11 changes: 0 additions & 11 deletions hooks.yaml

This file was deleted.

0 comments on commit ac4b262

Please sign in to comment.