Skip to content

Commit 9901970

Browse files
committed
ENH: add to example.py noqa: E402
1 parent 33980c7 commit 9901970

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

example/example.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@
5050
# Make the example runnable without the need to install and include ui
5151
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + '/..'))
5252
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + '/ui'))
53+
5354
# Must be in this place, after setting path, to not need to install
54-
import qdarkstyle
55+
import qdarkstyle # noqa: E402
5556

5657
# Set log for debug
5758
logging.basicConfig(level=logging.DEBUG)
@@ -146,12 +147,12 @@ def main():
146147
ui = ui_main()
147148
ui.setupUi(window)
148149

149-
title = ("QDarkStyle Example - " +
150-
"(QDarkStyle=v" + qdarkstyle.__version__ +
151-
", QtPy=v" + QTPY_VERSION +
152-
", " + API_NAME + "=v" + API_VERSION +
153-
", Qt=v" + QT_VERSION +
154-
", Python=v" + platform.python_version() + ")")
150+
title = ("QDarkStyle Example - "
151+
+ "(QDarkStyle=v" + qdarkstyle.__version__
152+
+ ", QtPy=v" + QTPY_VERSION
153+
+ ", " + API_NAME + "=v" + API_VERSION
154+
+ ", Qt=v" + QT_VERSION
155+
+ ", Python=v" + platform.python_version() + ")")
155156

156157
_logger.info(title)
157158

0 commit comments

Comments
 (0)