summary refs log tree commit diff stats
path: root/examples/plugin_linemode.py
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2016-12-21 05:06:55 +0100
committernfnty <git@nfnty.se>2017-01-17 05:59:02 +0100
commitb3d031a913814900467358b2adf20a148bf6de1a (patch)
tree6f5b435817ec9cbe850fb73485a7e6c77da28c14 /examples/plugin_linemode.py
parent76791a70467d7223a966aa9f12f5583b01d704a8 (diff)
downloadranger-b3d031a913814900467358b2adf20a148bf6de1a.tar.gz
linting: pylint and flake8
Diffstat (limited to 'examples/plugin_linemode.py')
-rw-r--r--examples/plugin_linemode.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/plugin_linemode.py b/examples/plugin_linemode.py
index 851d6213..6f16743d 100644
--- a/examples/plugin_linemode.py
+++ b/examples/plugin_linemode.py
@@ -6,6 +6,7 @@
 # the default linemode.
 
 import codecs
+
 import ranger.api
 from ranger.core.linemode import LinemodeBase
 
@@ -16,3 +17,6 @@ class MyLinemode(LinemodeBase):
 
     def filetitle(self, file, metadata):
         return codecs.encode(file.relative_path, "rot_13")
+
+    def infostring(self, file, metadata):
+        raise NotImplementedError