about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2022-02-05 19:29:57 +0100
committertoonn <toonn@toonn.io>2022-02-05 19:29:57 +0100
commita4b70bbf8b5e37b68c82d5fc71087772944516a9 (patch)
tree8eae21dc6ed65d4b9b10b2526b0176264a125be2
parentc6b6cd73608257876f2e3b478c6183dc984181b4 (diff)
downloadranger-a4b70bbf8b5e37b68c82d5fc71087772944516a9.tar.gz
Revert "plugin_ipc: Drop disappeared Pylint options"
This reverts commit 8110d6990ae12e4e55d2ceaefabdb63b39238b6c.
-rw-r--r--examples/plugin_ipc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/plugin_ipc.py b/examples/plugin_ipc.py
index da6a19b0..0e7de3bb 100644
--- a/examples/plugin_ipc.py
+++ b/examples/plugin_ipc.py
@@ -32,6 +32,7 @@ def hook_init(fm):
             while True:
                 # The IPC encoding depends on the system locale so we can't
                 # guess here.
+                # pylint: disable=unspecified-encoding
                 with open(filepath, 'r') as fifo:
                     line = fifo.read()
                     fm.execute_console(line.strip())