aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 67f6541b9a57c35b7bb0d55792ad17243b484521 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.5.0
    hooks:
      - id: check-merge-conflict
      - id: check-toml
      - id: check-yaml
      - id: end-of-file-fixer
      - id: trailing-whitespace
        args: [--markdown-linebreak-ext=md]
  - repo: local
    hooks:
      - id: ansible-lint
        name: ansible-lint
        args: [--offline]
        description: This hook runs ansible-lint within our project's environment.
        entry: ansible-lint
        language: system
        pass_filenames: false
        always_run: true
        require_serial: true