Merge pull request #1301 from jooola/feat/upgrade_pre-commit
Upgrade pre commit hooks
This commit is contained in:
commit
d6093f7356
|
@ -30,18 +30,18 @@ repos:
|
||||||
exclude: ^(api.*)$
|
exclude: ^(api.*)$
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v2.3.0
|
rev: v2.3.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
files: \.(md|yml|yaml|json)$
|
files: \.(md|yml|yaml|json)$
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 21.5b1
|
rev: 21.7b0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.8.0
|
rev: 5.9.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
args: ["--profile", "black", "--filter-files"]
|
args: ["--profile", "black", "--filter-files"]
|
||||||
|
@ -52,7 +52,9 @@ repos:
|
||||||
# - id: pylint
|
# - id: pylint
|
||||||
|
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
rev: v2.0.0
|
rev: v2.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
args: [--ignore-words=.codespellignore]
|
args:
|
||||||
|
- --ignore-words=.codespellignore
|
||||||
|
- --builtin=clear,rare,informal
|
||||||
|
|
Loading…
Reference in New Issue