File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 5050# Make the example runnable without the need to install and include ui
5151sys .path .insert (0 , os .path .abspath (os .path .dirname (os .path .abspath (__file__ )) + '/..' ))
5252sys .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
5758logging .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
You can’t perform that action at this time.
0 commit comments