Diff of /.pre-commit-config.yaml [000000] .. [e988c2]

Switch to side-by-side view

--- a
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,29 @@
+default_language_version:
+  python: python3.11
+
+exclude: tests/acceptance/external_studies/
+
+repos:
+  - repo: local
+    hooks:
+    - id: check
+      name: check
+      entry: just check
+      language: system
+      types: [python]
+      require_serial: true
+      pass_filenames: false
+
+  - repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v4.3.0
+    hooks:
+    - id: trailing-whitespace
+    - id: end-of-file-fixer
+    - id: debug-statements
+    - id: check-ast
+    - id: check-json
+    - id: check-toml
+    - id: check-yaml
+      # --unsafe is a workaround for the use of !! in mkdocs.yml.
+      args: [--unsafe]
+    - id: detect-private-key