From a7c0cfe66ebfe4d96d4eb2777522aac651412081 Mon Sep 17 00:00:00 2001 From: thomahl <thomahl@stud.ntnu.no> Date: Thu, 16 Apr 2020 15:25:17 +0200 Subject: [PATCH] #119 lint fiks --- test/test_new_module_dialog.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test_new_module_dialog.py b/test/test_new_module_dialog.py index e1b725d..646caa5 100644 --- a/test/test_new_module_dialog.py +++ b/test/test_new_module_dialog.py @@ -3,11 +3,16 @@ import unittest from PySide2 import QtGui from PySide2.QtGui import QIcon -from PySide2.QtWidgets import QApplication, QDialog +from PySide2.QtWidgets import QApplication from PySide2.QtCore import QTimer, Qt from PySide2.QtTest import QTest from soitool.new_module_dialog import NewModuleDialog from soitool.modules.module_base import ModuleBase + +# The error being ignored here is pylint telling us that 'test' is a standard +# module, so the import should be placed further up. In our case we have an +# actual custom module called 'test', so pylint is confused. +# pylint: disable=C0411 from test.test_pdf_export_options_dialog import dialog_code_test_helper -- GitLab