From 2dfd952eb99590878430510644ffe99dd4a6a41d Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 13 Sep 2022 09:38:19 -0400 Subject: Move classes used by scripts to their own module Those classes are used by wrapper scripts and we should not have to import the rest of mesonlib, build.py, and all their dependencies for that. This renames mesonlib/ directory to utils/ and add a mesonlib.py module that imports everything from utils/ to not have to change `import mesonlib` everywhere. It allows to import utils.core without importing the rest of mesonlib. --- .flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.flake8') diff --git a/.flake8 b/.flake8 index d94bd5e97..0973b6006 100644 --- a/.flake8 +++ b/.flake8 @@ -29,5 +29,5 @@ extend-ignore = # A003: builtin class attribute A003 per-file-ignores = - mesonbuild/mesonlib/__init__.py:F401,F403 + mesonbuild/mesonlib.py:F401,F403 max-line-length = 120 -- cgit v1.2.3