flake8 fixes
This commit is contained in:
+1
-2
@@ -72,7 +72,7 @@ if buildWindowed:
|
|||||||
|
|
||||||
instOpt.append("novelWriter.py")
|
instOpt.append("novelWriter.py")
|
||||||
|
|
||||||
import PyInstaller.__main__
|
import PyInstaller.__main__ # noqa: F401
|
||||||
PyInstaller.__main__.run(instOpt)
|
PyInstaller.__main__.run(instOpt)
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
@@ -82,4 +82,3 @@ print("##################")
|
|||||||
print("")
|
print("")
|
||||||
print("If everything went well, the novelWriter executable should be in the folder named 'dist'")
|
print("If everything went well, the novelWriter executable should be in the folder named 'dist'")
|
||||||
print("")
|
print("")
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -4,10 +4,10 @@
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import PyQt5.QtWidgets
|
import PyQt5.QtWidgets # noqa: F401
|
||||||
import PyQt5.QtGui
|
import PyQt5.QtGui # noqa: F401
|
||||||
import PyQt5.QtCore
|
import PyQt5.QtCore # noqa: F401
|
||||||
except:
|
except Exception:
|
||||||
print("ERROR: Failed to load dependency python3-pyqt5")
|
print("ERROR: Failed to load dependency python3-pyqt5")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user