Fix type and redundant parentheses
This commit is contained in:
@@ -283,7 +283,7 @@ def _createApp(style: str) -> QApplication:
|
|||||||
"""Create the app. This is done in a function to make it easier to
|
"""Create the app. This is done in a function to make it easier to
|
||||||
block app creation during testing.
|
block app creation during testing.
|
||||||
"""
|
"""
|
||||||
app = QApplication([CONFIG.appName, (f"-style={style}")])
|
app = QApplication([CONFIG.appName, f"-style={style}"])
|
||||||
app.setApplicationName(CONFIG.appName)
|
app.setApplicationName(CONFIG.appName)
|
||||||
app.setApplicationVersion(__version__)
|
app.setApplicationVersion(__version__)
|
||||||
app.setOrganizationDomain(__domain__)
|
app.setOrganizationDomain(__domain__)
|
||||||
|
|||||||
+1
-1
@@ -141,7 +141,7 @@ if __name__ == "__main__":
|
|||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
usage="pkgutils.py [command] [--flags]",
|
usage="pkgutils.py [command] [--flags]",
|
||||||
description=(
|
description=(
|
||||||
"This tool provides setup and build commands for installing or distibuting "
|
"This tool provides setup and build commands for installing or distributing "
|
||||||
"novelWriter as a package on Linux, Mac and Windows, as well as developer tools "
|
"novelWriter as a package on Linux, Mac and Windows, as well as developer tools "
|
||||||
"for internationalisation."
|
"for internationalisation."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user