2022-03-09 09:45:33 +00:00
|
|
|
---
|
|
|
|
|
repos:
|
2025-10-07 07:52:18 +00:00
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
2026-03-10 09:58:29 +00:00
|
|
|
rev: 26.3.0
|
2022-03-09 09:45:33 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
2025-10-17 15:51:53 +00:00
|
|
|
language_version: python3.10
|
2022-04-05 12:29:15 +00:00
|
|
|
args:
|
|
|
|
|
- "--target-version"
|
2025-10-17 15:51:53 +00:00
|
|
|
- "py310"
|
2022-06-18 16:20:25 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2025-06-23 18:34:16 +00:00
|
|
|
rev: "7.3.0"
|
2022-06-18 16:20:25 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
args: ["--max-line-length", "110"]
|
2022-03-09 09:45:33 +00:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2026-03-04 12:06:54 +00:00
|
|
|
rev: 8.0.1
|
2022-03-09 09:45:33 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
2022-06-15 13:48:08 +00:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2025-11-24 18:19:51 +00:00
|
|
|
rev: v3.21.2
|
2022-06-15 13:48:08 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: pyupgrade
|
2025-10-17 15:51:53 +00:00
|
|
|
args: [--py310-plus]
|
2022-08-08 09:53:03 +00:00
|
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
2026-03-04 12:06:54 +00:00
|
|
|
rev: 1.30.0
|
2022-08-08 09:53:03 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: django-upgrade
|
2024-10-17 16:53:55 +00:00
|
|
|
args: [--target-version, "4.2"]
|