From 075ccc68bec1f3eb74e2089950b48627811354ac Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 12 Jun 2022 22:39:31 -0400 Subject: sort imports for neatness --- mesonbuild/mintro.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'mesonbuild/mintro.py') diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index e83c08b..5421af3 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -19,21 +19,19 @@ tests and so on. All output is in JSON for simple parsing. Currently only works for the Ninja backend. Others use generated project files and don't need this info.""" +import argparse import collections import json -from . import build, coredata as cdata -from . import mesonlib -from .ast import IntrospectionInterpreter, BUILD_TARGET_FUNCTIONS, AstConditionLevel, AstIDGenerator, AstIndentationGenerator, AstJSONPrinter -from . import mlog -from .backend import backends -from .mparser import BaseNode, FunctionNode, ArrayNode, ArgumentNode, StringNode -from .interpreter import Interpreter +import os from pathlib import Path, PurePath import typing as T -import os -import argparse +from . import build, mesonlib, mlog, coredata as cdata +from .ast import IntrospectionInterpreter, BUILD_TARGET_FUNCTIONS, AstConditionLevel, AstIDGenerator, AstIndentationGenerator, AstJSONPrinter +from .backend import backends +from .interpreter import Interpreter from .mesonlib import OptionKey +from .mparser import BaseNode, FunctionNode, ArrayNode, ArgumentNode, StringNode def get_meson_info_file(info_dir: str) -> str: return os.path.join(info_dir, 'meson-info.json') -- cgit v1.1