more ignores

This commit is contained in:
Leonardo Santagada 2016-07-18 10:06:35 +02:00
parent d4d8a5f80a
commit 75fe2eccc8
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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)