From d1bb32bfbeec41fccf7fabfd624000f117415639 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 27 Aug 2021 19:34:50 +0200 Subject: plugin_ipc: Silence encoding lint --- examples/plugin_ipc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/plugin_ipc.py b/examples/plugin_ipc.py index c6fc60c6..0e7de3bb 100644 --- a/examples/plugin_ipc.py +++ b/examples/plugin_ipc.py @@ -30,6 +30,9 @@ def hook_init(fm): def ipc_reader(filepath): 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()) -- cgit 1.4.1-2-gfad0