summaryrefslogtreecommitdiff
path: root/kvmd/validators/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/validators/auth.py')
-rw-r--r--kvmd/validators/auth.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvmd/validators/auth.py b/kvmd/validators/auth.py
index bb2fad14..025110e6 100644
--- a/kvmd/validators/auth.py
+++ b/kvmd/validators/auth.py
@@ -20,7 +20,6 @@
# ========================================================================== #
-from typing import List
from typing import Any
from .basic import valid_string_list
@@ -33,7 +32,7 @@ def valid_user(arg: Any) -> str:
return check_re_match(arg, "username characters", r"^[a-z_][a-z0-9_-]*$")
-def valid_users_list(arg: Any) -> List[str]:
+def valid_users_list(arg: Any) -> list[str]:
return valid_string_list(arg, subval=valid_user, name="users list")