Skip to content

Commit

Permalink
Upgrade pre-commit deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Wobrock committed Feb 4, 2024
1 parent 2565090 commit 3f3589a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions tests/test_project/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 __future__ import annotations

from django.contrib import admin
Expand Down

0 comments on commit 3f3589a

Please sign in to comment.