]> git.donarmstrong.com Git - perltidy.git/blobdiff - .pre-commit-hooks.yaml
New upstream version 20210717
[perltidy.git] / .pre-commit-hooks.yaml
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml
new file mode 100644 (file)
index 0000000..d0cdce5
--- /dev/null
@@ -0,0 +1,8 @@
+- id: perltidy
+  name: perltidy
+  description: Run the perltidy source code formatter on Perl source files
+  minimum_pre_commit_version: 2.1.0
+  entry: perltidy --nostandard-output --backup-and-modify-in-place
+  args: [--standard-error-output, --backup-file-extension=/]
+  language: perl
+  types: [perl]