updates: - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/pycqa/isort: 6.0.1 → 7.0.0](https://github.com/pycqa/isort/compare/6.0.1...7.0.0) - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.0](https://github.com/asottile/pyupgrade/compare/v3.20.0...v3.21.0)
30 lines
707 B
YAML
30 lines
707 B
YAML
ci:
|
|
autofix_prs: true
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-toml
|
|
- id: debug-statements
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 25.9.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 7.0.0
|
|
hooks:
|
|
- id: isort
|
|
args: ["--profile", "black"]
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.21.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
- repo: https://github.com/hadialqattan/pycln
|
|
rev: v2.5.0
|
|
hooks:
|
|
- id: pycln
|
|
args: [--config=pyproject.toml]
|