15 lines
435 B
YAML
15 lines
435 B
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: 'v0.11.7'
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
- id: ruff-format
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
|
rev: "1.24.0"
|
|
hooks:
|
|
- id: django-upgrade
|
|
args: [--target-version, "4.2"]
|