Add a 4c-4g docker system for ansible roles
[releng/builder.git] / .pre-commit-config.yaml
index 275074f2d44a88f5549359bbb11c95cef7806d6a..f08ce2534cef9e31611b75b8ea53ac2f1f0d7488 100644 (file)
@@ -1,7 +1,7 @@
 ---
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v2.2.1
+    rev: v2.5.0
     hooks:
       - id: check-json
       - id: flake8
@@ -10,12 +10,12 @@ repos:
       - id: trailing-whitespace
 
   - repo: https://github.com/jorisroovers/gitlint
-    rev: v0.11.0
+    rev: v0.13.1
     hooks:
       - id: gitlint
 
   - repo: https://github.com/jumanjihouse/pre-commit-hooks
-    sha: 1.11.0
+    sha: 2.0.2
     hooks:
       - id: shellcheck
         exclude: >
@@ -25,6 +25,18 @@ repos:
             )$
 
   - repo: https://github.com/adrienverge/yamllint
-    rev: v1.15.0
+    rev: v1.23.0
     hooks:
       - id: yamllint
+
+  - repo: local
+    hooks:
+      # TODO: Switch to upstream hook when https://github.com/btford/write-good/pull/119 is merged.
+      - id: write-good
+        name: write-good
+        description: Check docs for English prose with write-good
+        entry: write-good
+        language: node
+        files: "\\.(rst|md|markdown|mdown|mkdn)$"
+        additional_dependencies: ["write-good"]
+        exclude: docs/jenkins.rst