Satisfy pylint/mypy
This commit is contained in:
parent
6327679461
commit
35b5a4d7a9
|
@ -180,7 +180,7 @@ def get_builder(file_name: str, widgets: List[str] = None) -> Builder:
|
||||||
return Builder(file_name, widgets)
|
return Builder(file_name, widgets)
|
||||||
|
|
||||||
|
|
||||||
def set_urgency_hint(window: Any, setting: bool):
|
def set_urgency_hint(window: Any, setting: bool) -> None:
|
||||||
if app.config.get('use_urgency_hint'):
|
if app.config.get('use_urgency_hint'):
|
||||||
window.set_urgency_hint(setting)
|
window.set_urgency_hint(setting)
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
# 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 Gajim. If not, see <http://www.gnu.org/licenses/>.
|
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import nbxmpp
|
|
||||||
|
|
||||||
from gajim import message_control
|
from gajim import message_control
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
|
|
Loading…
Reference in New Issue