pre-commit autoupdate
This commit is contained in:
parent
d31f62ebb4
commit
b39b114e30
|
@ -16,21 +16,21 @@ repos:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
rev: 'v0.4.4'
|
rev: 'v0.5.2'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args:
|
args:
|
||||||
- --fix
|
- --fix
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.15.2
|
rev: v3.16.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args:
|
args:
|
||||||
- --py311-plus
|
- --py311-plus
|
||||||
exclude: migrations/
|
exclude: migrations/
|
||||||
- repo: https://github.com/adamchainz/django-upgrade
|
- repo: https://github.com/adamchainz/django-upgrade
|
||||||
rev: 1.17.0
|
rev: 1.19.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: django-upgrade
|
- id: django-upgrade
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -64,4 +64,4 @@ html.dark input[type="email"] {
|
||||||
background: var(--dark-dark);
|
background: var(--dark-dark);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: var(--light-dust);
|
color: var(--light-dust);
|
||||||
}
|
}
|
||||||
|
|
|
@ -556,4 +556,4 @@ span.time_remaining {
|
||||||
|
|
||||||
.pagination .page-item.disabled .page-link {
|
.pagination .page-item.disabled .page-link {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
|
|
||||||
addEmail.addEventListener('click', function(e) {
|
addEmail.addEventListener('click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
let overlay = document.getElementById('email-add-overlay')
|
let overlay = document.getElementById('email-add-overlay')
|
||||||
overlay.style.display = 'flex'
|
overlay.style.display = 'flex'
|
||||||
|
|
||||||
window.addEventListener('keydown', function(e) {
|
window.addEventListener('keydown', function(e) {
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
themeSwitcher.addEventListener('click', function() {
|
themeSwitcher.addEventListener('click', function() {
|
||||||
themeSwitcher.classList.toggle('active')
|
themeSwitcher.classList.toggle('active')
|
||||||
let isDark = document.querySelector('html').classList.toggle('dark');
|
let isDark = document.querySelector('html').classList.toggle('dark');
|
||||||
|
|
||||||
localStorage.setItem('theme', isDark ? 'dark' : 'light');
|
localStorage.setItem('theme', isDark ? 'dark' : 'light');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""URLs for the membersystem."""
|
"""URLs for the membersystem."""
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import include
|
from django.urls import include
|
||||||
|
|
|
@ -5,6 +5,7 @@ It exposes the WSGI callable as a module-level variable named ``application``.
|
||||||
For more information on this file, see
|
For more information on this file, see
|
||||||
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
|
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
|
Loading…
Reference in a new issue