mirror of
https://github.com/aclist/dztui.git
synced 2026-11-12 13:00:37 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
9f36569fd4
commit
bfe9b9d147
8 files changed
+12
-11
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ class ReservedIPError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def ip2list(ip: str) -> list:
|
||||
def ip2list(ip: str) -> list[int]:
|
||||
return [int(digit) for digit in ip.split(".")]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user