Update pre-commit repos (#728)

This commit is contained in:
Hasan Ramezani 2025-06-23 20:34:16 +02:00 committed by GitHub
parent af78976e53
commit 637e04c31e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,7 @@ repos:
- "--target-version"
- "py39"
- repo: https://github.com/PyCQA/flake8
rev: "7.2.0"
rev: "7.3.0"
hooks:
- id: flake8
args: ["--max-line-length", "110"]
@ -18,12 +18,12 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
rev: v3.20.0
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.24.0
rev: 1.25.0
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]

View file

@ -15,6 +15,7 @@ INSTALLED_APPS = [
"django.contrib.sessions",
"django.contrib.admin",
"django.contrib.staticfiles",
"django.contrib.postgres",
"auditlog",
"test_app",
]