pre-commit autoupdate

This commit is contained in:
Víðir Valberg Guðmundsson 2024-07-14 20:55:22 +02:00
parent d31f62ebb4
commit b39b114e30
7 changed files with 9 additions and 7 deletions

View file

@ -16,21 +16,21 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.4.4'
rev: 'v0.5.2'
hooks:
- id: ruff
args:
- --fix
- id: ruff-format
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.16.0
hooks:
- id: pyupgrade
args:
- --py311-plus
exclude: migrations/
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.17.0
rev: 1.19.0
hooks:
- id: django-upgrade
args:

View file

@ -1,4 +1,5 @@
"""URLs for the membersystem."""
from django.conf import settings
from django.contrib import admin
from django.urls import include

View file

@ -5,6 +5,7 @@ It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application