From e37245973742fdd52843d98d0c02f22a3ed2a448 Mon Sep 17 00:00:00 2001 From: coolguy-cell Date: Wed, 3 Jun 2020 16:59:15 +0530 Subject: [PATCH] fixed CQ for bitmessageqt.languagebox module --- src/bitmessageqt/languagebox.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bitmessageqt/languagebox.py b/src/bitmessageqt/languagebox.py index b97e61d3..9ff78990 100644 --- a/src/bitmessageqt/languagebox.py +++ b/src/bitmessageqt/languagebox.py @@ -1,3 +1,5 @@ +"""Language Box Module for Locale Settings""" +# pylint: disable=too-few-public-methods,bad-continuation import glob import os @@ -8,6 +10,7 @@ from bmconfigparser import BMConfigParser class LanguageBox(QtGui.QComboBox): + """LanguageBox class for Qt UI""" languageName = { "system": "System Settings", "eo": "Esperanto", "en_pirate": "Pirate English" @@ -18,6 +21,7 @@ class LanguageBox(QtGui.QComboBox): self.populate() def populate(self): + """Populates drop down list with all available languages.""" self.clear() localesPath = os.path.join(paths.codePath(), 'translations') self.addItem(QtGui.QApplication.translate(