about summary refs log tree commit diff stats
path: root/ranger/gui/displayable.py
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-18 04:10:19 +0100
committernfnty <git@nfnty.se>2017-01-18 04:10:19 +0100
commit51ec08da2f3c3c5466a60304dd94db9da45d99d5 (patch)
tree61fce3e4d546be76265809066a2e0867463bb91f /ranger/gui/displayable.py
parent84a22ae0c78b087b0cb080f47620291833586e6f (diff)
downloadranger-51ec08da2f3c3c5466a60304dd94db9da45d99d5.tar.gz
linting: Correct autopep8
Allow bad whitespace in special circumstances
Diffstat (limited to 'ranger/gui/displayable.py')
-rw-r--r--ranger/gui/displayable.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index 8c298440..16c78a91 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -161,9 +161,11 @@ class Displayable(  # pylint: disable=too-many-instance-attributes
                                "(x = %d, y = %d)" % (self, x, y), bad=True)
 
             if x + wid > maxx or y + hei > maxy:
-                self.fm.notify("Warning: Subwindow size out of bounds for <%s> "
-                               "(x = %d, y = %d, hei = %d, wid = %d)" % (self,
-                                                                         x, y, hei, wid), bad=True)
+                self.fm.notify(
+                    "Warning: Subwindow size out of bounds for <%s> "
+                    "(x = %d, y = %d, hei = %d, wid = %d)" % (self, x, y, hei, wid),
+                    bad=True,
+                )
 
         window_is_cleared = False