2022-10-12 06:22:22 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.6.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
exclude: ^core/migrations
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ["--profile", "black"]
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
args: [--max-line-length=88]
|
|
|
|
exclude: ^core/migrations
|
|
|
|
- repo: https://github.com/rtts/djhtml
|
2022-11-03 07:20:30 +00:00
|
|
|
rev: 'v1.5.2'
|
2022-10-12 06:22:22 +00:00
|
|
|
hooks:
|
|
|
|
- id: djhtml
|
|
|
|
args: [-t 2]
|
|
|
|
- id: djcss
|
|
|
|
exclude : ^core/static/css # slow
|
|
|
|
- id: djjs
|
|
|
|
exclude: ^core/static/js # slow
|
2022-11-03 07:20:30 +00:00
|
|
|
- repo: https://github.com/sirwart/ripsecrets.git
|
|
|
|
rev: v0.1.5
|
|
|
|
hooks:
|
|
|
|
- id: ripsecrets
|
2022-10-12 06:22:22 +00:00
|
|
|
# - repo: https://github.com/thibaudcolas/curlylint
|
|
|
|
# rev: v0.13.1
|
|
|
|
# hooks:
|
|
|
|
# - id: curlylint
|
|
|
|
# files: \.(html|sls)$
|