diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7e43d3b057d0ed4e43480a28db50db806ce01eaa..974b5cfe358ba376f00ea15c57dc965be2be47f0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,13 @@
+---
+default_language_version:
+    python: python3
+
 repos:
   - repo: https://github.com/charliermarsh/ruff-pre-commit
     rev: v0.0.243
     hooks:
       - id: ruff
+  - repo: https://github.com/psf/black-pre-commit-mirror
+    rev: 23.9.1
+    hooks:
+      - id: black-jupyter