summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 1f7653f9b40747b1c50f1def9860a0d8f003e519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.3.0
    hooks:
      - id: check-merge-conflict
      - id: debug-statements
      - id: end-of-file-fixer
      - id: no-commit-to-branch
      - id: trailing-whitespace

  - repo: https://github.com/psf/black
    rev: 22.6.0
    hooks:
      - id: black

  - repo: https://github.com/ansible-network/collection_prep
    rev: 1.0.0
    hooks:
      - id: update-docs