Skip to content

Commit 42002e8

Browse files
committed
remote_door: Ignore new pylint warning
for some reason updated pylint doesn't like NS_MODULE name even though it's top-level. Let's ignore it to fix CI. Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
1 parent 0b40a4e commit 42002e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aexpect/remote_door.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
from Pyro5 import nameserver, server
7878
from Pyro5.compatibility import Pyro4
7979

80-
NS_MODULE = "Pyro5.nameserver"
80+
NS_MODULE = "Pyro5.nameserver" # pylint: disable=C0103
8181
except ImportError:
8282
# noinspection PyPackageRequirements,PyUnresolvedReferences
8383
import Pyro4
@@ -99,14 +99,14 @@ def __init__(self):
9999
from Pyro4 import naming as nameserver
100100

101101
nameserver.start_ns = nameserver.startNS
102-
NS_MODULE = "Pyro4.naming"
102+
NS_MODULE = "Pyro4.naming" # pylint: disable=C0103
103103

104104
except ImportError:
105105
logging.warning(
106106
"Remote object backend (Pyro4) not found, some functionality"
107107
" of the remote door will not be available"
108108
)
109-
NS_MODULE = ""
109+
NS_MODULE = "" # pylint: disable=C0103
110110

111111
# NOTE: disable aexpect importing on the remote side if not available as the
112112
# remote door can run code remotely without the requirement for the aexpect

0 commit comments

Comments
 (0)