]> git.0d.be Git - panikweb-esperanzah.git/blob - .pre-commit-config.yaml
a11y: include title in link on homepage
[panikweb-esperanzah.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/asottile/pyupgrade
5     rev: v2.26.0
6     hooks:
7       - id: pyupgrade
8         args: ['--keep-percent-format', '--py37-plus']
9   - repo: https://github.com/adamchainz/django-upgrade
10     rev: 1.2.0
11     hooks:
12       - id: django-upgrade
13         args: [--target-version, "2.2"]
14   - repo: https://github.com/psf/black
15     rev: 22.3.0
16     hooks:
17       - id: black
18         args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
19   - repo: https://github.com/PyCQA/isort
20     rev: 5.7.0
21     hooks:
22       - id: isort
23         args: ['--profile', 'black', '--line-length', '110']