Skip to content

Commit 7c6e60b

Browse files
committed
Supressed false positive warnings rised by pylint.
1 parent fc314a5 commit 7c6e60b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
import gi
2727

2828
gi.require_version("Gst", "1.0")
29-
from gi.repository import Gst # pylint: disable=wrong-import-position
29+
from gi.repository import Gst # pylint: disable=wrong-import-position,no-name-in-module
3030

31-
from onvif import ONVIFCamera # pylint: disable=wrong-import-position
31+
from onvif import ONVIFCamera # pylint: disable=wrong-import-position,import-error
3232

3333
from dls_onvif_data import ONVIFProfile # pylint: disable=wrong-import-position
3434
import dls_onvif_discovery_thread as dls_disc_thread # pylint: disable=wrong-import-position

samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ==============================================================================
66
"""GStreamer pipeline launcher and lifecycle manager for discovered cameras."""
77
import threading
8-
from gi.repository import Gst, GLib
8+
from gi.repository import Gst, GLib # pylint: disable=no-name-in-module
99

1010

1111
class DlsLaunchedPipeline: # pylint: disable=too-many-instance-attributes

0 commit comments

Comments
 (0)