]> git.0d.be Git - chloro.git/blob - .pre-commit-config.yaml
do not include non-feed posts on homepage
[chloro.git] / .pre-commit-config.yaml
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 repos:
4 -   repo: https://github.com/pre-commit/pre-commit-hooks
5     rev: v4.4.0
6     hooks:
7     - id: double-quote-string-fixer
8 -   repo: https://github.com/psf/black
9     rev: 23.1.0
10     hooks:
11     - id: black
12       args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
13 -   repo: https://github.com/PyCQA/isort
14     rev: 5.12.0
15     hooks:
16     - id: isort
17       args: ['--profile', 'black', '--line-length', '110']
18 -   repo: https://github.com/asottile/pyupgrade
19     rev: v3.3.1
20     hooks:
21     - id: pyupgrade
22       args: ['--keep-percent-format', '--py37-plus']
23 -   repo: https://github.com/adamchainz/django-upgrade
24     rev: 1.13.0
25     hooks:
26     - id: django-upgrade
27       args: ['--target-version', '3.2']
28 -   repo: https://github.com/rtts/djhtml
29     rev: '3.0.5'
30     hooks:
31     - id: djhtml
32       args: ['--tabwidth', '2']
33 -   repo: https://git.entrouvert.org/pre-commit-debian.git
34     rev: v0.3
35     hooks:
36     - id: pre-commit-debian