neptune/.pre-commit-config.yaml

32 lines
806 B
YAML
Raw Permalink Normal View History

2022-07-21 12:45:18 +00:00
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
2022-07-21 12:45:50 +00:00
exclude: ^core/migrations
2022-07-21 12:45:18 +00:00
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
2022-07-21 12:51:06 +00:00
args: ["--profile", "black"]
2022-07-21 12:45:18 +00:00
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
2022-07-21 12:48:00 +00:00
args: [--max-line-length=88]
2022-07-21 12:45:23 +00:00
exclude: ^core/migrations
2022-09-05 06:20:30 +00:00
- repo: https://github.com/rtts/djhtml
rev: 'v1.5.2' # replace with the latest tag on GitHub
2022-07-21 12:45:50 +00:00
hooks:
2022-09-05 06:20:30 +00:00
- id: djhtml
args: [-t 2]
2022-09-05 06:20:30 +00:00
- id: djcss
exclude : ^core/static/css # slow
2022-09-05 06:20:30 +00:00
- id: djjs
exclude: ^core/static/js # slow
# - repo: https://github.com/thibaudcolas/curlylint
# rev: v0.13.1
# hooks:
# - id: curlylint
# files: \.(html|sls)$