aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-01-26 01:51:59 -0500
committerDylan Baker <dylan@pnwbakers.com>2022-01-27 10:48:01 -0800
commit3990dc6d6429f6da8917c2f3f719e56fa20ac2ed (patch)
treea8c243fca13b87cccacc82b2523b99e3bde5e7d6 /mesonbuild/interpreter/interpreter.py
parenta28d5467954572767389729691e497d4da44b16e (diff)
downloadmeson-3990dc6d6429f6da8917c2f3f719e56fa20ac2ed.zip
meson-3990dc6d6429f6da8917c2f3f719e56fa20ac2ed.tar.gz
meson-3990dc6d6429f6da8917c2f3f719e56fa20ac2ed.tar.bz2
flake8: fix indentation style
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 40815d0..0366cd1 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -701,14 +701,14 @@ external dependencies (including libraries) must go to "dependencies".''')
)
def func_run_command(self, node: mparser.BaseNode,
args: T.Tuple[T.Union[build.Executable, ExternalProgram, compilers.Compiler, mesonlib.File, str],
- T.List[T.Union[build.Executable, ExternalProgram, compilers.Compiler, mesonlib.File, str]]],
+ T.List[T.Union[build.Executable, ExternalProgram, compilers.Compiler, mesonlib.File, str]]],
kwargs: 'kwargs.RunCommand') -> RunProcess:
return self.run_command_impl(node, args, kwargs)
def run_command_impl(self,
node: mparser.BaseNode,
args: T.Tuple[T.Union[build.Executable, ExternalProgram, compilers.Compiler, mesonlib.File, str],
- T.List[T.Union[build.Executable, ExternalProgram, compilers.Compiler, mesonlib.File, str]]],
+ T.List[T.Union[build.Executable, ExternalProgram, compilers.Compiler, mesonlib.File, str]]],
kwargs: 'kwargs.RunCommand',
in_builddir: bool = False) -> RunProcess:
cmd, cargs = args
@@ -2286,7 +2286,7 @@ external dependencies (including libraries) must go to "dependencies".''')
cmd, *args = mesonlib.listify(_cmd)
res = self.run_command_impl(node, (cmd, args),
{'capture': True, 'check': True, 'env': build.EnvironmentVariables()},
- True)
+ True)
if 'capture' in kwargs and kwargs['capture']:
dst_tmp = ofile_abs + '~'
file_encoding = kwargs.setdefault('encoding', 'utf-8')