From de7f87a092432de9a730824e2e93534baa328910 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Sat, 8 Oct 2022 08:01:10 +0200 Subject: [PATCH] chore: clean pre-commit config (#2211) --- .pre-commit-config.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c50bcdf4b..fe3aefa37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,8 +26,7 @@ repos: exclude: \.ambr$ - id: name-tests-test - # TODO: Remove once the django api uses pytest - exclude: ^(api.*)$ + exclude: ^api - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1 @@ -47,19 +46,11 @@ repos: hooks: - id: black - # - repo: https://github.com/pycqa/isort - # rev: 5.9.3 - # hooks: - # - id: isort - # args: ["--profile", "black", "--filter-files"] - - repo: https://github.com/codespell-project/codespell rev: v2.2.1 hooks: - id: codespell - args: - - --ignore-words=.codespellignore - - --builtin=clear,rare,informal + args: [--ignore-words=.codespellignore] exclude: (^api/schema.yml|^legacy.*|yarn\.lock)$ - repo: local