Add perltidy to pre-commit linters
[transportpce.git] / .pre-commit-config.yaml
index 954379b1e9bce0d377613103bf09127883a63636..10afcad1105ea8314ae71c9cfde0ef307c02d97d 100644 (file)
@@ -28,3 +28,8 @@ repos:
       - id: autopep8
         args: ['--in-place', '--max-line-length=120']
 
+  - repo: https://github.com/perltidy/perltidy
+    rev: '20240202.05'
+    hooks:
+      - id: perltidy
+        stages: [commit]