about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-12-18 23:11:11 +0100
committertoonn <toonn@toonn.io>2019-12-18 23:11:11 +0100
commitf733a72d1e461a32405307a9aec7f6b4ecd708ff (patch)
treee2afa461c3c215227ecaa594c197848a8532fb31
parent86c16ab4b05ccb99afba247a74ab6875e1407075 (diff)
downloadranger-f733a72d1e461a32405307a9aec7f6b4ecd708ff.tar.gz
Minor linting fixes
-rw-r--r--ranger/gui/ui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 9900ce52..03a43c57 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -238,7 +238,7 @@ class UI(  # pylint: disable=too-many-instance-attributes,too-many-public-method
         for key in keys:
             self.handle_key(key)
 
-    def handle_input(self):
+    def handle_input(self):  # pylint: disable=too-many-branches
         key = self.win.getch()
         if key == curses.KEY_ENTER:
             key = ord('\n')
@@ -281,7 +281,6 @@ class UI(  # pylint: disable=too-many-instance-attributes,too-many-public-method
                 # STDIN has been closed
                 self.fm.exit()
 
-
     def setup(self):
         """Build up the UI by initializing widgets."""
         from ranger.gui.widgets.titlebar import TitleBar