summaryrefslogtreecommitdiffstats
path: root/ansible_collections/splunk/es/.pre-commit-config.yaml
blob: a4450aa3c5dd3cf0b900fcb358fc0fed38018550 (plain)
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: v4.2.0
    hooks:
      - id: check-merge-conflict
      - id: check-symlinks
      - id: debug-statements
      - id: end-of-file-fixer
      - id: no-commit-to-branch
        args: [--branch, main]
      - id: trailing-whitespace
  - repo: https://github.com/psf/black
    rev: 22.3.0
    hooks:
      - id: black
        args: [-l, "79"]
  - repo: https://github.com/ansible-network/collection_prep
    rev: 1.0.0
    hooks:
      - id: update-docs