summaryrefslogtreecommitdiffstats
path: root/ansible_collections/splunk/es/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/splunk/es/.pre-commit-config.yaml')
-rw-r--r--ansible_collections/splunk/es/.pre-commit-config.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/ansible_collections/splunk/es/.pre-commit-config.yaml b/ansible_collections/splunk/es/.pre-commit-config.yaml
new file mode 100644
index 000000000..a4450aa3c
--- /dev/null
+++ b/ansible_collections/splunk/es/.pre-commit-config.yaml
@@ -0,0 +1,21 @@
+---
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.2.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/psf/black
+ rev: 22.3.0
+ hooks:
+ - id: black
+ args: [-l, "79"]
+ - repo: https://github.com/ansible-network/collection_prep
+ rev: 1.0.0
+ hooks:
+ - id: update-docs