Update precommit config
This commit is contained in:
parent
27f39f6a1f
commit
0722779a2f
1 changed files with 8 additions and 4 deletions
|
|
@ -1,18 +1,22 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.6.4
|
rev: 5.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
args: ['--profile', 'black', '--filter-files']
|
args: ['--profile', 'black', '--filter-files']
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: '22.3.0' # Replace by any tag/version: https://github.com/psf/black/tags
|
rev: '23.9.1' # Replace by any tag/version: https://github.com/psf/black/tags
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3 # Should be a command that runs python3.6+
|
language_version: python3 # Should be a command that runs python3.6+
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
rev: '3.9.2' # pick a git hash / tag to point to
|
rev: '6.1.0' # pick a git hash / tag to point to
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies: [flake8-bugbear==21.4.3]
|
additional_dependencies: [flake8-bugbear==21.4.3]
|
||||||
exclude: ^.*/migrations/.*$
|
exclude: ^.*/migrations/.*$
|
||||||
exclude: ^.*/migrations/.*$
|
- repo: https://github.com/Riverside-Healthcare/djLint
|
||||||
|
rev: v1.33.0
|
||||||
|
hooks:
|
||||||
|
- id: djlint-reformat-django
|
||||||
|
- id: djlint-django
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue