summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/asa/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:03:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:03:42 +0000
commit66cec45960ce1d9c794e9399de15c138acb18aed (patch)
tree59cd19d69e9d56b7989b080da7c20ef1a3fe2a5a /ansible_collections/cisco/asa/.pre-commit-config.yaml
parentInitial commit. (diff)
downloadansible-66cec45960ce1d9c794e9399de15c138acb18aed.tar.xz
ansible-66cec45960ce1d9c794e9399de15c138acb18aed.zip
Adding upstream version 7.3.0+dfsg.upstream/7.3.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/cisco/asa/.pre-commit-config.yaml')
-rw-r--r--ansible_collections/cisco/asa/.pre-commit-config.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/ansible_collections/cisco/asa/.pre-commit-config.yaml b/ansible_collections/cisco/asa/.pre-commit-config.yaml
new file mode 100644
index 00000000..cd9929d5
--- /dev/null
+++ b/ansible_collections/cisco/asa/.pre-commit-config.yaml
@@ -0,0 +1,34 @@
+---
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.3.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/asottile/add-trailing-comma
+ rev: v2.2.3
+ hooks:
+ - id: add-trailing-comma
+
+ - repo: https://github.com/psf/black
+ rev: 22.6.0
+ hooks:
+ - id: black
+ args: [-l, "100"]
+
+ - repo: https://github.com/PyCQA/isort
+ rev: 5.10.1
+ hooks:
+ - id: isort
+ name: Sort import statements using isort
+
+ - repo: https://github.com/ansible-network/collection_prep
+ rev: 1.0.0
+ hooks:
+ - id: update-docs