From 675bb2f340e581c3b092d082a43b22ce3bae0da8 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 4 Mar 2021 11:07:09 +0100 Subject: [PATCH] mintro: fix flake8 issues --- mesonbuild/mintro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 551629427..04978451f 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -21,7 +21,6 @@ project files and don't need this info.""" import collections import json -from mesonbuild.compilers import d from . import build, coredata as cdata from . import mesonlib from .ast import IntrospectionInterpreter, build_target_functions, AstConditionLevel, AstIDGenerator, AstIndentationGenerator, AstJSONPrinter @@ -123,6 +122,7 @@ def list_installed(installdata: backends.InstallData) -> T.Dict[str, str]: def list_targets_from_source(intr: IntrospectionInterpreter) -> T.List[T.Dict[str, T.Union[bool, str, T.List[T.Union[str, T.Dict[str, T.Union[str, T.List[str], bool]]]]]]]: tlist = [] # type: T.List[T.Dict[str, T.Union[bool, str, T.List[T.Union[str, T.Dict[str, T.Union[str, T.List[str], bool]]]]]]] root_dir = Path(intr.source_root) + def nodes_to_paths(node_list: T.List[BaseNode]) -> T.List[Path]: res = [] # type: T.List[Path] for n in node_list: