chore: clean pre-commit config (#2211)

This commit is contained in:
Jonas L 2022-10-08 08:01:10 +02:00 committed by GitHub
parent 888cdcb30a
commit de7f87a092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 11 deletions

View File

@ -26,8 +26,7 @@ repos:
exclude: \.ambr$ exclude: \.ambr$
- id: name-tests-test - id: name-tests-test
# TODO: Remove once the django api uses pytest exclude: ^api
exclude: ^(api.*)$
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1 rev: v2.7.1
@ -47,19 +46,11 @@ repos:
hooks: hooks:
- id: black - 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 - repo: https://github.com/codespell-project/codespell
rev: v2.2.1 rev: v2.2.1
hooks: hooks:
- id: codespell - id: codespell
args: args: [--ignore-words=.codespellignore]
- --ignore-words=.codespellignore
- --builtin=clear,rare,informal
exclude: (^api/schema.yml|^legacy.*|yarn\.lock)$ exclude: (^api/schema.yml|^legacy.*|yarn\.lock)$
- repo: local - repo: local