django-mellon/.pre-commit-config.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
581 B
YAML
Raw Normal View History

2021-03-02 14:51:33 +01:00
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
- repo: https://github.com/PyCQA/isort
2021-08-05 09:14:56 +02:00
rev: 5.7.0
hooks:
- id: isort
2021-03-02 14:51:33 +01:00
args: ['--profile', 'black', '--line-length', '110']
- repo: https://github.com/asottile/pyupgrade
2021-08-05 09:14:56 +02:00
rev: v2.20.0
hooks:
- id: pyupgrade
2021-03-02 14:51:33 +01:00
args: ['--keep-percent-format', '--py37-plus']