From d69ae318440059f433d7a61ab36534c75743b37c Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sun, 2 Apr 2023 20:25:30 +0200 Subject: [PATCH] Cosmetics --- docs/DEVELOPMENT.md | 4 ++-- src/tools.py | 2 +- src/window.py | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 94a8ccf..13df536 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -8,9 +8,9 @@ `poetry run pylint src` -## Run pyflackes +## Run pyflakes -`poetry run pylint pyflackes` +`poetry run pyflakes src` ## Run bandit diff --git a/src/tools.py b/src/tools.py index 1a70181..d469e2d 100644 --- a/src/tools.py +++ b/src/tools.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from gi.repository import Adw, Gtk, GLib, Gio, GdkPixbuf +from gi.repository import Gtk, GLib, Gio, GdkPixbuf def sizeof_fmt(num): diff --git a/src/window.py b/src/window.py index 7cd79ba..ced3fa5 100644 --- a/src/window.py +++ b/src/window.py @@ -164,7 +164,6 @@ class CurtailWindow(Gtk.ApplicationWindow): return row def set_saving_subtitle(self): - label = '' if self._settings.get_boolean('new-file'): label = _("Images are saved with '{}' suffix.")\ .format(self._settings.get_string('suffix'))