publik-infra/.pre-commit-config.yaml

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

27 lines
813 B
YAML
Raw Normal View History

2021-01-13 17:44:17 +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/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: double-quote-string-fixer
2021-01-13 17:44:17 +01:00
- repo: https://github.com/psf/black
2022-04-03 15:04:27 +02:00
rev: 22.3.0
2021-01-13 17:44:17 +01:00
hooks:
- id: black
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
- repo: https://github.com/PyCQA/isort
2023-02-01 09:29:09 +01:00
rev: 5.12.0
hooks:
- id: isort
args: ['--profile', 'black', '--line-length', '110']
- repo: https://github.com/asottile/pyupgrade
2022-10-26 19:22:45 +02:00
rev: v3.1.0
hooks:
- id: pyupgrade
args: ['--keep-percent-format', '--py37-plus']
- repo: https://git.entrouvert.org/pre-commit-debian.git
2023-05-27 21:50:29 +02:00
rev: v0.3
hooks:
- id: pre-commit-debian