From fcde28a230c0501a5c265d592786be0426b1208b Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Fri, 6 Aug 2021 20:42:23 +0200
Subject: [PATCH] [mod] pre-commit: Move the exclusion statement globally

---
 .pre-commit-config.yaml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5ab1beac..7ca000a1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,3 +1,4 @@
+exclude: ^docs/
 repos:
 -   repo: https://github.com/psf/black
     rev: 21.5b0
@@ -8,12 +9,10 @@ repos:
     hooks:
     - id: isort
       args: ["--profile", "black"]
-      exclude: ^docs/
 -   repo: https://github.com/pre-commit/mirrors-mypy
     rev: v0.910
     hooks:
     - id: mypy
-      exclude: ^docs/
       args:
         - "--install-types"
         - "--non-interactive"
@@ -21,12 +20,10 @@ repos:
     rev: v2.8.2
     hooks:
     - id: pylint
-      exclude: ^docs/
 -   repo: https://github.com/Lucas-C/pre-commit-hooks
     rev: v1.1.10
     hooks:
     - id: insert-license
-      exclude: ^docs/
       files: \.py$
       args:
         - --license-filepath
-- 
GitLab