2021-12-23 00:30:55 +00:00
|
|
|
repos:
|
2022-07-15 10:09:54 +00:00
|
|
|
- repo: https://github.com/psf/black
|
2023-02-09 07:20:00 +00:00
|
|
|
rev: 23.1.0
|
2021-12-23 00:30:55 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-07-15 10:09:54 +00:00
|
|
|
exclude: ^core/migrations
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-09 07:20:00 +00:00
|
|
|
rev: 5.11.5
|
2022-07-15 10:09:54 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2022-07-15 11:50:59 +00:00
|
|
|
args: ["--profile", "black"]
|
2022-07-15 10:09:54 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2023-02-09 07:20:00 +00:00
|
|
|
rev: 6.0.0
|
2021-12-23 00:30:55 +00:00
|
|
|
hooks:
|
2022-07-15 10:09:54 +00:00
|
|
|
- id: flake8
|
|
|
|
args: [--max-line-length=88]
|
|
|
|
exclude: ^core/migrations
|
2023-02-09 07:20:00 +00:00
|
|
|
- repo: https://github.com/rtts/djhtml
|
|
|
|
rev: v2.0.0
|
|
|
|
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
|
2022-07-15 10:09:54 +00:00
|
|
|
hooks:
|
2022-11-03 07:20:30 +00:00
|
|
|
- id: ripsecrets
|