https://code.grasp-open.com/grasp-tools/python-dlinfo/merge_requests/1
@@ -19,7 +19,7 @@ before_script:
linting:
stage: test
script:
- - pipenv run pylint dlinfo
+ - pipenv run pylint dlinfo tests/*.py
tests:
@@ -0,0 +1,4 @@
+[MESSAGES CONTROL]
+
+disable=missing-docstring,
+ too-few-public-methods
@@ -27,6 +27,7 @@ class DLInfo:
def __init__(self, cdll: ctypes.CDLL):
self._linkmap = ctypes.c_void_p()
+ # pylint: disable=protected-access
if _DLINFO(cdll._handle, _RTLD_DI_LINKMAP, ctypes.byref(self._linkmap)) != 0:
raise Exception('dlinfo on {} failed'.format(cdll._name))