From 16be8e381f2933e55ad82b154af2aa7bb63ef8cd Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 2 May 2021 22:13:12 +0200
Subject: [PATCH] [enh] #401: Introduce gitlab-ci-linter pre-commit hook

Set to git.duniter.org to not request gitlab.com API
---
 .pre-commit-config.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9f2a4e5e..9154dcf0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -8,3 +8,10 @@ repos:
     hooks:
     - id: isort
       args: ["--profile", "black"]
+-   repo: https://gitlab.com/devopshq/gitlab-ci-linter
+    rev: v1.0.3
+    hooks:
+    - id: gitlab-ci-linter
+      args:
+        - "--server"
+        - "https://git.duniter.org"
-- 
GitLab