Skip to content

Commit

Permalink
feat: run ruff, disable ruff for info
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed Aug 27, 2024
1 parent 3d2ccb1 commit 162775c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ORStools/gui/ORStoolsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def on_help_click() -> None:
def on_about_click(parent: QWidget) -> None:
"""Slot for click event of About button/menu entry."""

# ruff will add trailing comma to last string line which breaks pylupdate5
# fmt: off
info = QCoreApplication.translate(
"@default",
'<b>ORS Tools</b> provides access to <a href="https://openrouteservice.org"'
Expand All @@ -118,6 +120,7 @@ def on_about_click(parent: QWidget) -> None:
"github.com/GIScience/orstools-qgis-plugin</a><br>"
"Version: {3}"
).format(DEFAULT_COLOR, __email__, __web__, __version__)
# fmt: on

QMessageBox.information(
parent, QCoreApplication.translate("@default", "About {}").format(PLUGIN_NAME), info
Expand Down

0 comments on commit 162775c

Please sign in to comment.