diff options
author | Paolo Melchiorre | 2022-12-05 18:38:37 +0100 |
---|---|---|
committer | GitHub | 2022-12-05 10:38:37 -0700 |
commit | a9bb4a7122df6d9d4a764de52244c6ec75789ead (patch) | |
tree | 14ba582f72ac5e3b133b3644ca03e0f027e7c2ef /users/views | |
parent | dd8e823d2f3ef22fcaa1e43e74f11f7e49eff9e7 (diff) | |
download | takahe-a9bb4a7122df6d9d4a764de52244c6ec75789ead.tar.gz takahe-a9bb4a7122df6d9d4a764de52244c6ec75789ead.tar.bz2 takahe-a9bb4a7122df6d9d4a764de52244c6ec75789ead.zip |
Add pyupgrade with --py310-plus in pre-commit (#103)
Diffstat (limited to 'users/views')
-rw-r--r-- | users/views/settings/interface.py | 6 |
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 |