chore: clean pre-commit config (#2211)
This commit is contained in:
parent
888cdcb30a
commit
de7f87a092
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue