summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 7661ca62b9f1fc64892b9f668f513dd373547d51 (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.4
    hooks:
      - id: update-docs