summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorKate Case <kcase@redhat.com>2023-02-07 11:50:01 -0500
committerGitHub <noreply@github.com>2023-02-07 11:50:01 -0500
commita4a40e9d4ec540fae1b4ecb1622786d0832ed840 (patch)
treea99f6549f4490ba2373ca021d7c7637bcdbe14b2 /.pre-commit-config.yaml
parent6c6637a13fa034e4ea486eda4fff16620e818b0d (diff)
downloadvyos-ansible-collection-a4a40e9d4ec540fae1b4ecb1622786d0832ed840.tar.gz
vyos-ansible-collection-a4a40e9d4ec540fae1b4ecb1622786d0832ed840.zip
Add autoversion hook (#289)
* Add autoversion hook * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index dc0e3b7..b635fa6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,11 @@
---
repos:
+ - repo: https://github.com/ansible-network/collection_prep
+ rev: 1.1.0
+ hooks:
+ - id: autoversion
+ - id: update-docs
+
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
@@ -27,8 +33,3 @@ repos:
rev: 22.12.0
hooks:
- id: black
-
- - repo: https://github.com/ansible-network/collection_prep
- rev: 1.1.0
- hooks:
- - id: update-docs