Update pre-commit (#679)

This commit is contained in:
Hasan Ramezani 2024-10-17 19:22:57 +02:00 committed by Ilya
parent 1f9d7303a1
commit 517af10718

View file

@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/psf/black
rev: 23.12.0
rev: 24.10.0
hooks:
- id: black
language_version: python3.9
@ -9,7 +9,7 @@ repos:
- "--target-version"
- "py39"
- repo: https://github.com/PyCQA/flake8
rev: "7.0.0"
rev: "7.1.1"
hooks:
- id: flake8
args: ["--max-line-length", "110"]
@ -18,12 +18,12 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.18.0
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.15.0
rev: 1.22.1
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]