chore: clear linting errors

This commit is contained in:
aclist committed 2025-12-18 14:35:11 +09:00
1 parent 6e8a78cf3e
commit 3ea2afabed
4 files changed
+16 -25

No files matched your search

+1 -2
View File
@@ -19,11 +19,10 @@ class Changelog(Gtk.Box):
try:
changelog = resources.read_text(APP_NAME_LOWER, "data/CHANGELOG.md")
except OSError as e:
changelog = "Error: Failed to read changelog"
# TODO: log error
changelog = "Error: Failed to read changelog"
# TODO: should long text be wrapped?
formatted = format_pango(changelog)
self.changelog_label = Gtk.Label(valign=Gtk.Align.START, margin=15)
self.changelog_label.set_markup(formatted)