From 75fe2eccc890d3998f45d16d04bb182383c9f5b6 Mon Sep 17 00:00:00 2001 From: Leonardo Santagada Date: Mon, 18 Jul 2016 10:06:35 +0200 Subject: [PATCH] more ignores --- tests/tools.py | 2 +- xonsh/built_ins.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tools.py b/tests/tools.py index e839c7ac1..efd4fcedf 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -14,7 +14,7 @@ import pytest from xonsh.environ import Env from xonsh.built_ins import ensure_list_of_strs from xonsh.base_shell import BaseShell -from xonsh.tools import XonshBlockError +from xonsh.tools import XonshBlockError # noqa: F401 VER_3_4 = (3, 4) diff --git a/xonsh/built_ins.py b/xonsh/built_ins.py index 9ce0afe76..158f17ac1 100644 --- a/xonsh/built_ins.py +++ b/xonsh/built_ins.py @@ -457,8 +457,8 @@ def run_subproc(cmds, captured=False): if (stdin is not None and env.get('XONSH_STORE_STDIN') and captured == 'object' and - __xonsh_commands_cache__.lazy_locate_binary('cat') and - __xonsh_commands_cache__.lazy_locate_binary('tee')): + __xonsh_commands_cache__.lazy_locate_binary('cat') and # noqa: F821 + __xonsh_commands_cache__.lazy_locate_binary('tee')): # noqa: F821 _stdin_file = tempfile.NamedTemporaryFile() cproc = subprocess.Popen(['cat'], stdin=stdin, stdout=subprocess.PIPE)