2022-03-09 09:45:33 +00:00
|
|
|
---
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/psf/black
|
2024-04-29 18:10:27 +00:00
|
|
|
rev: 24.4.2
|
2022-03-09 09:45:33 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
2024-10-17 16:40:21 +00:00
|
|
|
language_version: python3.9
|
2022-04-05 12:29:15 +00:00
|
|
|
args:
|
|
|
|
|
- "--target-version"
|
2024-10-17 16:40:21 +00:00
|
|
|
- "py39"
|
2022-06-18 16:20:25 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2024-07-02 08:04:22 +00:00
|
|
|
rev: "7.1.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
|
2023-12-19 11:31:49 +00:00
|
|
|
rev: 5.13.2
|
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
|
2024-06-11 07:51:31 +00:00
|
|
|
rev: v3.16.0
|
2022-06-15 13:48:08 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: pyupgrade
|
2024-10-17 16:40:21 +00:00
|
|
|
args: [--py39-plus]
|
2022-08-08 09:53:03 +00:00
|
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
2024-07-23 12:39:46 +00:00
|
|
|
rev: 1.20.0
|
2022-08-08 09:53:03 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: django-upgrade
|
2022-11-01 08:00:42 +00:00
|
|
|
args: [--target-version, "3.2"]
|