]> git.0d.be Git - panikweb-studioneau.git/blob - .pre-commit-config.yaml
prepare support for multiple players
[panikweb-studioneau.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: v3.3.1
6     hooks:
7       - id: pyupgrade
8         args: ['--keep-percent-format', '--py39-plus']
9   - repo: https://github.com/adamchainz/django-upgrade
10     rev: 1.10.0
11     hooks:
12       - id: django-upgrade
13         args: [--target-version, "3.2"]
14   - repo: https://github.com/psf/black
15     rev: 23.1.0
16     hooks:
17       - id: black
18         args: ['--target-version', 'py39', '--skip-string-normalization', '--line-length', '110']
19   - repo: https://github.com/PyCQA/isort
20     rev: 5.12.0
21     hooks:
22       - id: isort
23         args: ['--profile', 'black', '--line-length', '110']
24   - repo: https://github.com/rtts/djhtml
25     rev: '3.0.5'
26     hooks:
27       - id: djhtml
28         args: ['--tabwidth', '2']