Files
offline_kubespray/collection/ansible/netcommon/.pre-commit-config.yaml
ByeonJungHun 360c6eef4a offline 작업
2024-02-19 16:02:29 +09:00

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