From 05af3b99d87ade639cfb8dd33acda9c76d5e93e5 Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 5 Feb 2022 16:10:08 +0100 Subject: runner: Drop disappeared Pylint options --- ranger/core/runner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ranger/core/runner.py b/ranger/core/runner.py index 1d2b91f7..acd85fb8 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -193,7 +193,6 @@ class Runner(object): # pylint: disable=too-few-public-methods context.wait = False if 's' in context.flags: # Using a with-statement for these is inconvenient. - # pylint: disable=consider-using-with devnull_writable = open(os.devnull, 'w', encoding="utf-8") devnull_readable = open(os.devnull, 'r', encoding="utf-8") for key in ('stdout', 'stderr'): @@ -244,7 +243,6 @@ class Runner(object): # pylint: disable=too-few-public-methods if 'f' in context.flags and 'r' not in context.flags: # This can fail and return False if os.fork() is not # supported, but we assume it is, since curses is used. - # pylint: disable=consider-using-with Popen_forked(**popen_kws) else: process = Popen(**popen_kws) -- cgit 1.4.1-2-gfad0