2021-03-31 17:43:38 +00:00
|
|
|
---
|
|
|
|
repos:
|
2023-03-29 22:18:57 +00:00
|
|
|
- repo: https://github.com/ansible-network/collection_prep
|
2023-04-04 19:01:29 +00:00
|
|
|
rev: 1.1.1
|
2023-03-29 22:18:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: autoversion
|
|
|
|
- id: update-docs
|
|
|
|
|
2021-03-31 17:43:38 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-30 11:29:46 +00:00
|
|
|
rev: v4.4.0
|
2021-03-31 17:43:38 +00:00
|
|
|
hooks:
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: no-commit-to-branch
|
|
|
|
- id: trailing-whitespace
|
2022-05-26 14:02:52 +00:00
|
|
|
|
2022-06-01 12:35:10 +00:00
|
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
2022-12-14 13:24:20 +00:00
|
|
|
rev: v2.4.0
|
2022-06-01 12:35:10 +00:00
|
|
|
hooks:
|
|
|
|
- id: add-trailing-comma
|
|
|
|
|
2022-05-26 14:02:52 +00:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2023-03-29 22:18:57 +00:00
|
|
|
rev: "v3.0.0-alpha.6"
|
2022-05-26 14:02:52 +00:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
additional_dependencies:
|
|
|
|
- prettier
|
|
|
|
- prettier-plugin-toml
|
|
|
|
|
2022-05-26 17:18:57 +00:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-01-30 15:31:43 +00:00
|
|
|
rev: 5.12.0
|
2022-05-26 17:18:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: Sort import statements using isort
|
2023-03-29 22:18:57 +00:00
|
|
|
args: ["--filter-files"]
|
2022-05-26 17:18:57 +00:00
|
|
|
|
2021-03-31 17:43:38 +00:00
|
|
|
- repo: https://github.com/psf/black
|
2023-03-29 22:18:57 +00:00
|
|
|
rev: 23.3.0
|
2021-03-31 17:43:38 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|