summaryrefslogtreecommitdiff
path: root/wrappers/python
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-26 17:38:29 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-26 17:38:29 +0200
commitc5609f55481899a888fd7235ff454fef79d3a7cf (patch)
tree3e0b39c547debd987771c01d9ef255593469c925 /wrappers/python
parent516a25eb926a8b9a879e4f38c86d4dbb9b9e0948 (diff)
Autoflake: Remove unused imports
Diffstat (limited to 'wrappers/python')
-rw-r--r--wrappers/python/eduvpn_common/discovery.py4
-rw-r--r--wrappers/python/eduvpn_common/event.py2
-rw-r--r--wrappers/python/eduvpn_common/loader.py7
-rw-r--r--wrappers/python/eduvpn_common/main.py1
4 files changed, 2 insertions, 12 deletions
diff --git a/wrappers/python/eduvpn_common/discovery.py b/wrappers/python/eduvpn_common/discovery.py
index 7e31a7f..732283a 100644
--- a/wrappers/python/eduvpn_common/discovery.py
+++ b/wrappers/python/eduvpn_common/discovery.py
@@ -1,10 +1,8 @@
-from ctypes import CDLL, POINTER, c_void_p, cast, pointer
+from ctypes import CDLL, POINTER, c_void_p, cast
from typing import List, Optional
from eduvpn_common.types import (
- cDiscoveryOrganization,
cDiscoveryOrganizations,
- cDiscoveryServer,
cDiscoveryServers,
get_ptr_list_strings,
)
diff --git a/wrappers/python/eduvpn_common/event.py b/wrappers/python/eduvpn_common/event.py
index 979c4f2..1823130 100644
--- a/wrappers/python/eduvpn_common/event.py
+++ b/wrappers/python/eduvpn_common/event.py
@@ -1,4 +1,4 @@
-from ctypes import CDLL, c_void_p
+from ctypes import CDLL
from typing import Any, Callable, Dict, List, Tuple
from eduvpn_common.server import (
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py
index 4b820bf..3de3de5 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -8,13 +8,6 @@ from eduvpn_common.types import (
ConfigError,
DataError,
VPNStateChange,
- cDiscoveryServer,
- cDiscoveryServers,
- cError,
- cServer,
- cServerLocations,
- cServerProfiles,
- cServers,
)
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py
index a77015c..fff7e31 100644
--- a/wrappers/python/eduvpn_common/main.py
+++ b/wrappers/python/eduvpn_common/main.py
@@ -1,5 +1,4 @@
import threading
-from ctypes import c_char_p, c_int, c_void_p
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple
from eduvpn_common.discovery import DiscoOrganizations, DiscoServers, get_disco_organizations, get_disco_servers