Skip to content

Commit

Permalink
pre commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
pfouque committed Apr 1, 2024
1 parent 7165689 commit ea292f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 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
args: ["--maxkb=700"]
Expand All @@ -15,38 +15,38 @@ 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: []
additional_dependencies:
- django-stubs

- repo: https://github.com/python-poetry/poetry
rev: "1.5.0"
rev: "1.8.0"
hooks:
- id: poetry-check
- id: poetry-lock
Expand Down
1 change: 1 addition & 0 deletions sample_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 django.contrib import admin
from django.urls import path

Expand Down

0 comments on commit ea292f3

Please sign in to comment.