From 417e0f0231519d0830f89cce66aac4c520f5696b Mon Sep 17 00:00:00 2001 From: Yurely Date: Sun, 29 Dec 2024 21:49:33 -0400 Subject: [PATCH] exclude folders for pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66c73112..e6d65f26 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,12 +9,17 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - id: check-json + exclude: "src/scicookie/{{cookiecutter.project_slug}}.*" - id: check-toml + exclude: "src/scicookie/{{cookiecutter.project_slug}}.*" - id: check-xml - id: debug-statements + exclude: "src/scicookie/{{cookiecutter.project_slug}}.*|src/scicookie/hooks/.*" - id: check-builtin-literals + exclude: "src/scicookie/{{cookiecutter.project_slug}}.*|src/scicookie/hooks/.*" - id: check-case-conflict - id: check-docstring-first + exclude: "src/scicookie/{{cookiecutter.project_slug}}.*" - id: detect-private-key - repo: https://github.com/pre-commit/mirrors-prettier