From 10e57fce86210fa7c3883a0d1f773b94cbf30674 Mon Sep 17 00:00:00 2001 From: Josie Eshkenazi Date: Tue, 9 Jun 2020 16:48:17 -0400 Subject: [PATCH] Fix stderr being plugged into codemod-ed file --- libcst/codemod/_cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libcst/codemod/_cli.py b/libcst/codemod/_cli.py index 5c1340192..67355a190 100644 --- a/libcst/codemod/_cli.py +++ b/libcst/codemod/_cli.py @@ -58,7 +58,6 @@ def invoke_formatter(formatter_args: Sequence[str], code: AnyStr) -> AnyStr: formatter_args, env={}, input=code, - stderr=subprocess.STDOUT, universal_newlines=not work_with_bytes, encoding=None if work_with_bytes else "utf-8", ),