diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9fcb8c63..0a11eae3 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,3 +19,4 @@ repos:
     hooks:
     - id: black
       args: ["-l", "120"]
+exclude: "docs/.*$"