diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f694515..3d2c776 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 args: ["--maxkb=700"] @@ -15,30 +15,30 @@ repos: - id: debug-statements - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.15.2 hooks: - id: pyupgrade args: - "--py38-plus" - repo: https://github.com/adamchainz/django-upgrade - rev: 1.13.0 + rev: 1.16.0 hooks: - id: django-upgrade args: [--target-version, "3.2"] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.3.0 hooks: - id: black - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.270" + rev: "v0.3.4" hooks: - id: ruff - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.9.0 hooks: - id: mypy args: [] @@ -46,7 +46,7 @@ repos: - django-stubs - repo: https://github.com/python-poetry/poetry - rev: "1.5.0" + rev: "1.8.0" hooks: - id: poetry-check - id: poetry-lock diff --git a/sample_project/urls.py b/sample_project/urls.py index 0026774..e567fc8 100644 --- a/sample_project/urls.py +++ b/sample_project/urls.py @@ -13,6 +13,7 @@ 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ + from django.contrib import admin from django.urls import path