mirror of
https://github.com/Huluti/Curtail.git
synced 2024-09-11 06:05:33 +03:00
Cosmetics
This commit is contained in:
parent
1a012c993c
commit
d69ae31844
@ -8,9 +8,9 @@
|
|||||||
|
|
||||||
`poetry run pylint src`
|
`poetry run pylint src`
|
||||||
|
|
||||||
## Run pyflackes
|
## Run pyflakes
|
||||||
|
|
||||||
`poetry run pylint pyflackes`
|
`poetry run pyflakes src`
|
||||||
|
|
||||||
## Run bandit
|
## Run bandit
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from gi.repository import Adw, Gtk, GLib, Gio, GdkPixbuf
|
from gi.repository import Gtk, GLib, Gio, GdkPixbuf
|
||||||
|
|
||||||
|
|
||||||
def sizeof_fmt(num):
|
def sizeof_fmt(num):
|
||||||
|
@ -164,7 +164,6 @@ class CurtailWindow(Gtk.ApplicationWindow):
|
|||||||
return row
|
return row
|
||||||
|
|
||||||
def set_saving_subtitle(self):
|
def set_saving_subtitle(self):
|
||||||
label = ''
|
|
||||||
if self._settings.get_boolean('new-file'):
|
if self._settings.get_boolean('new-file'):
|
||||||
label = _("Images are saved with '{}' suffix.")\
|
label = _("Images are saved with '{}' suffix.")\
|
||||||
.format(self._settings.get_string('suffix'))
|
.format(self._settings.get_string('suffix'))
|
||||||
|
Loading…
Reference in New Issue
Block a user