summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: aad517e9c1e505091b4a9d2912e9969f9f2d906e (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.4.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.12.0
    hooks:
      - id: black

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