Merge "CI: Remove coe jobs"
[releng/builder.git] / .pre-commit-config.yaml
index 4f9aacc8ceb63bebd2cc17adf60e3ad3ef69c2b7..ca5cf7fbb4f65c9a3e61a06eb35a823f8fa143c3 100644 (file)
@@ -1,4 +1,7 @@
 ---
+default_language_version:
+  python: python3
+  node: "14.13.0"
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v2.5.0
@@ -6,10 +9,11 @@ repos:
       - id: check-json
       - id: trailing-whitespace
 
-  - repo: https://github.com/prettier/prettier
-    rev: 2.0.5
+  - repo: https://github.com/prettier/pre-commit
+    rev: v2.1.2
     hooks:
       - id: prettier
+        stages: [commit]
 
   - repo: https://github.com/jorisroovers/gitlint
     rev: v0.13.1
@@ -17,7 +21,7 @@ repos:
       - id: gitlint
 
   - repo: https://github.com/jumanjihouse/pre-commit-hooks
-    sha: 2.0.2
+    rev: 2.1.5
     hooks:
       - id: shellcheck
         exclude: >
@@ -27,7 +31,7 @@ repos:
           )$
 
   - repo: https://github.com/ambv/black
-    rev: stable
+    rev: 20.8b1
     hooks:
       - id: black
 
@@ -55,7 +59,7 @@ repos:
       - id: yamllint
 
   - repo: https://github.com/btford/write-good
-    rev: master
+    rev: v1.0.3
     hooks:
       - id: write-good
         exclude: docs/jenkins.rst