]> git.0d.be Git - chloro.git/blob - .pre-commit-config.yaml
trivial: add new pre-commit hooks
[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/psf/black
5     rev: 22.3.0
6     hooks:
7     - id: black
8       args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
9 -   repo: https://github.com/PyCQA/isort
10     rev: 5.7.0
11     hooks:
12     - id: isort
13       args: ['--profile', 'black', '--line-length', '110']
14 -   repo: https://github.com/asottile/pyupgrade
15     rev: v2.20.0
16     hooks:
17     - id: pyupgrade
18       args: ['--keep-percent-format', '--py37-plus']
19 -   repo: https://git.entrouvert.org/pre-commit-debian.git
20     rev: v0.1
21     hooks:
22     - id: pre-commit-debian