From cbc638a23b29752e3e24c671edc7edd0e96b2f3e Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Wed, 20 Apr 2022 08:46:11 +0200 Subject: [PATCH] [enh] #428: Add pre-commit-hooks hooks selection Ignore g1_monetary_license --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea6980e8..37ced029 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,15 @@ +exclude: ^g1_monetary_license/ repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.2.0 + hooks: + - id: check-ast + - id: check-merge-conflict + - id: check-toml + - id: debug-statements + - id: end-of-file-fixer + - id: mixed-line-ending + - id: trailing-whitespace - repo: https://github.com/psf/black rev: 22.1.0 hooks: -- GitLab