diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-14 15:08:37 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-10-14 15:16:04 +0200 |
| commit | 5137d7ea3bf3356f917f6ccf44610cc23ea6492b (patch) | |
| tree | 2785f098bc0b390f307e1bd9f48901eb251ed491 /wrappers/python/eduvpn_common/loader.py | |
| parent | ad01ccf4e59f632ead507646b10310e794b8f0c0 (diff) | |
Python: Run black
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/loader.py | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index 55adcb8..170437a 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -4,10 +4,18 @@ from collections import defaultdict from ctypes import CDLL, c_char_p, c_int, c_void_p, cdll from eduvpn_common import __version__ -from eduvpn_common.types import (ConfigError, DataError, VPNStateChange, - cDiscoveryServer, cDiscoveryServers, cError, - cServer, cServerLocations, cServerProfiles, - cServers) +from eduvpn_common.types import ( + ConfigError, + DataError, + VPNStateChange, + cDiscoveryServer, + cDiscoveryServers, + cError, + cServer, + cServerLocations, + cServerProfiles, + cServers, +) def load_lib(): @@ -96,16 +104,19 @@ def initialize_functions(lib: CDLL): c_char_p, ], c_void_p lib.AddInstituteAccess.argtypes, lib.AddInstituteAccess.restype = [ - c_char_p, - c_char_p, + c_char_p, + c_char_p, ], c_void_p - lib.AddSecureInternetHomeServer.argtypes, lib.AddSecureInternetHomeServer.restype = [ - c_char_p, - c_char_p, + ( + lib.AddSecureInternetHomeServer.argtypes, + lib.AddSecureInternetHomeServer.restype, + ) = [ + c_char_p, + c_char_p, ], c_void_p lib.AddCustomServer.argtypes, lib.AddCustomServer.restype = [ - c_char_p, - c_char_p, + c_char_p, + c_char_p, ], c_void_p lib.RemoveInstituteAccess.argtypes, lib.RemoveInstituteAccess.restype = [ c_char_p, |
