Update release in docs/conf.yaml
[transportpce.git] / .pre-commit-config.yaml
index e2513a9137ec63ec05c175b762b977a714621703..10afcad1105ea8314ae71c9cfde0ef307c02d97d 100644 (file)
@@ -4,7 +4,7 @@ repos:
     rev: v4.3.0
     hooks:
       - id: trailing-whitespace
-        exclude: '^ordmodels/'
+        exclude: '^ordmodels/|.diff$'
         # ordmodels trailing blanks shall preferably be fixed in OpenROADM upstream repo
 
   - repo: https://github.com/jorisroovers/gitlint
@@ -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]