Upgrade pre-commit deps.

This commit is contained in:
David Wobrock authored and David Wobrock committed 2024-02-04 20:11:21 +01:00
1 parent bda054a2cb
commit 23997537e4
2 files changed
+7 -6

No files matched your search

+6 -6
View File
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-ast
@@ -14,20 +14,20 @@ repos:
- id: forbid-submodules
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
exclude: ^tests/
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies:
@@ -36,7 +36,7 @@ repos:
- "--ignore-missing-imports"
exclude: ^tests/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.275
rev: v0.2.0
hooks:
- id: ruff
args:
+1
View File
@@ -13,6 +13,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from __future__ import annotations
from django.contrib import admin