Fix type and redundant parentheses

This commit is contained in:
Veronica Berglyd Olsen
2025-03-15 17:26:37 +01:00
parent 9831fdbe0f
commit e1cd848a77
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ def _createApp(style: str) -> QApplication:
"""Create the app. This is done in a function to make it easier to
block app creation during testing.
"""
app = QApplication([CONFIG.appName, (f"-style={style}")])
app = QApplication([CONFIG.appName, f"-style={style}"])
app.setApplicationName(CONFIG.appName)
app.setApplicationVersion(__version__)
app.setOrganizationDomain(__domain__)
+1 -1
View File
@@ -141,7 +141,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(
usage="pkgutils.py [command] [--flags]",
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 "
"for internationalisation."
)