summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 19bc9e023ed8b025248f8945b3be94caef2f85f8 (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: v3.1.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: 19.3b0
    hooks:
      - id: black
        args: [-l, "79"]
  - repo: https://github.com/ansible-network/collection_prep
    rev: 0.9.1
    hooks:
      - id: update-docs