From 4bbb3f5b5adb7ffc21981cddabcccec87b2244f5 Mon Sep 17 00:00:00 2001 From: CyberRoute Date: Sat, 21 Sep 2024 16:34:59 +0200 Subject: [PATCH] workaround the linter errors on imports --- .pylintrc | 2 ++ core/arp_scanner.py | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .pylintrc diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..9f97a58 --- /dev/null +++ b/.pylintrc @@ -0,0 +1,2 @@ +[MASTER] +init-hook='import sys; sys.path.append(".")' diff --git a/core/arp_scanner.py b/core/arp_scanner.py index 650fe23..b20bb8c 100644 --- a/core/arp_scanner.py +++ b/core/arp_scanner.py @@ -18,15 +18,13 @@ from PySide6.QtGui import QIcon, QFont, QColor # pylint: disable=E0611 from PySide6.QtCore import QRunnable, Slot, Qt, QThreadPool, QTimer # pylint: disable=E0611 from PyQt6.QtCore import QThread, pyqtSignal # pylint: disable=E0611 -from ui.ui_arpscan import Ui_DeviceDiscovery # pylint: disable=E0401 +from ui.ui_arpscan import Ui_DeviceDiscovery from core import sniffer from core import vendor from core.platform import get_os import core.networking as net - - class DeviceDetailsWindow(QMainWindow): # pylint: disable=too-few-public-methods """ A window that displays detailed information about a network device.