27 lines
729 B
YAML
27 lines
729 B
YAML
---
|
|
ci:
|
|
skip:
|
|
# pre-commit.ci has trouble with this one
|
|
- update-docs
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.1.0
|
|
hooks:
|
|
- id: check-merge-conflict
|
|
- 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
|
|
# black v22+ drops Python 2 support. We can't update until we do as well.
|
|
# This hash corresponds to 21.12b0
|
|
rev: f1d4e742c91dd5179d742b0db9293c4472b765f8
|
|
hooks:
|
|
- id: black
|
|
args: [-l, "79"]
|
|
- repo: https://github.com/ansible-network/collection_prep
|
|
rev: 0.9.4
|
|
hooks:
|
|
- id: update-docs
|