[totem/wip/hadess/pylint-warnings: 10/11] pythonconsole: Disable "too many" coding style pylint warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/pylint-warnings: 10/11] pythonconsole: Disable "too many" coding style pylint warnings
- Date: Wed, 14 Nov 2018 17:45:40 +0000 (UTC)
commit 0aaa67750824e231a5979d73e40a12de8bbaa8a2
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 14 17:00:56 2018 +0100
pythonconsole: Disable "too many" coding style pylint warnings
Disables both "Too many local variables" and "Too many return
statements" warnings.
src/plugins/pythonconsole/console.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/pythonconsole/console.py b/src/plugins/pythonconsole/console.py
index 079ae3b4..5da0068e 100644
--- a/src/plugins/pythonconsole/console.py
+++ b/src/plugins/pythonconsole/console.py
@@ -90,7 +90,7 @@ class PythonConsole(Gtk.ScrolledWindow): # pylint: disable=R0902
buf.connect("mark-set", self.__mark_set_cb)
- def __key_press_event_cb(self, view, # pylint: disable=R0912,R0915
+ def __key_press_event_cb(self, view, # pylint: disable=R0911,R0912,R0914,R0915
event):
modifier_mask = Gtk.accelerator_get_default_mod_mask()
event_state = event.state & modifier_mask
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]