better pylint complain workaround
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Mon, 11 Mar 2019 09:18:58 +0100
changeset 2493 0ad5e616d37f
parent 2492 7dd551ac2fa0
child 2521 48ebcbe7f19b
better pylint complain workaround
connectors/PYRO/__init__.py
--- a/connectors/PYRO/__init__.py	Mon Mar 11 01:03:32 2019 +0100
+++ b/connectors/PYRO/__init__.py	Mon Mar 11 09:18:58 2019 +0100
@@ -54,8 +54,7 @@
 
     scheme, location = uri.split("://")
     if scheme == "PYROS":
-        import connectors.PYRO.PSK_Adapter
-        _unused_module_imported_for_monkey_patching_pylint_sucks = connectors.PYRO.PSK_Adapter
+        import connectors.PYRO.PSK_Adapter # pylint: disable=wrong-import-order,unused-import,wrong-import-position
         schemename = "PYROLOCPSK"
         url, ID = location.split('#')  # TODO fix exception when # not found
         # load PSK from project