From: Oleg Broytman Date: Fri, 29 Dec 2023 08:47:16 +0000 (+0300) Subject: Style(wx): Fix `flake8` warnings X-Git-Tag: 0.3.0~9^2~30 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=782cdc2d2799d37639d2d777d4777af3b53665b4;p=m_librarian.git Style(wx): Fix `flake8` warnings --- diff --git a/m_librarian/wx/Application.py b/m_librarian/wx/Application.py index bebaa27..854bba3 100644 --- a/m_librarian/wx/Application.py +++ b/m_librarian/wx/Application.py @@ -1,6 +1,6 @@ # coding: utf-8 -import wx, wx.adv +import wx, wx.adv # noqa: E401 multiple imports on one line from ..__version__ import __version__ from .session_config import get_session_config @@ -44,7 +44,8 @@ class MainWindow(wx.Frame): aboutInfo.SetDescription( u'Библиотекарь для библиотек LibRusEc/Flibusta') aboutInfo.AddDeveloper(u'Олег Бройтман') - aboutInfo.SetWebSite(u'https://phdru.name/Software/Python/m_librarian/') + aboutInfo.SetWebSite( + u'https://phdru.name/Software/Python/m_librarian/') aboutInfo.SetCopyright(u'(C) 2023 Олег Бройтман') aboutInfo.SetLicense(u'GPL') wx.adv.AboutBox(aboutInfo) @@ -58,6 +59,7 @@ class MainWindow(wx.Frame): session_config.save() event.Skip() # Call other handlers + class Application(wx.App): def OnInit(self):