summaryrefslogtreecommitdiffstats
path: root/users/views/settings
diff options
context:
space:
mode:
authorPaolo Melchiorre2022-12-05 18:38:37 +0100
committerGitHub2022-12-05 10:38:37 -0700
commita9bb4a7122df6d9d4a764de52244c6ec75789ead (patch)
tree14ba582f72ac5e3b133b3644ca03e0f027e7c2ef /users/views/settings
parentdd8e823d2f3ef22fcaa1e43e74f11f7e49eff9e7 (diff)
downloadtakahe-a9bb4a7122df6d9d4a764de52244c6ec75789ead.tar.gz
takahe-a9bb4a7122df6d9d4a764de52244c6ec75789ead.tar.bz2
takahe-a9bb4a7122df6d9d4a764de52244c6ec75789ead.zip
Add pyupgrade with --py310-plus in pre-commit (#103)
Diffstat (limited to 'users/views/settings')
-rw-r--r--users/views/settings/interface.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/users/views/settings/interface.py b/users/views/settings/interface.py
index fe8e1e9..5c4f229 100644
--- a/users/views/settings/interface.py
+++ b/users/views/settings/interface.py
@@ -1,5 +1,5 @@
from functools import partial
-from typing import ClassVar, Dict, List
+from typing import ClassVar
from django import forms
from django.core.files import File
@@ -21,8 +21,8 @@ class SettingsPage(FormView):
options_class = Config.IdentityOptions
template_name = "settings/settings.html"
section: ClassVar[str]
- options: Dict[str, Dict[str, str]]
- layout: Dict[str, List[str]]
+ options: dict[str, dict[str, str]]
+ layout: dict[str, list[str]]
def get_form_class(self):
# Create the fields dict from the config object