QGIS/.pre-commit-config.yaml

28 lines
499 B
YAML
Raw Normal View History

exclude: |
(?x)^(
python/.*/auto_\w+/.*.py
)$
2024-11-20 10:53:17 +01:00
fail_fast: false
2024-11-20 10:53:17 +01:00
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
ci:
autofix_prs: true
autoupdate_schedule: quarterly