[totem/gnome-3-30] pythonconsole: Disable "too many" coding style pylint warnings



commit 0453a91cf46006daed528c76c9afec8c4275ab0b
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]