aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/modtest.py
AgeCommit message (Collapse)AuthorFilesLines
2021-05-28modules: Add methods dict everywhereXavier Claessens1-0/+5
This fix calling random internal methods from meson.build as long as they were not prefixed by underscore.
2021-05-28modules: Stop using ModuleReturnValue where it's not neededXavier Claessens1-3/+0
It is only needed in functions that need to add targets to the interpreter.
2018-04-15Updated all modules to work with the new API.Jussi Pakkanen1-2/+2
2017-09-21flake8: Clean up complained-about unused importsLuke Shumaker1-1/+1
This also adds a "# noqa: F401" comment on an unused "import lzma", which we are using it in a try/except block that is being used to check if the lzma module is importable; of course it is unused. v2: This turned out to be a little tricky. mesonbuild/modules/__init__.py had the "unused" import: from ..interpreterbase import permittedKwargs, noKwargs However, that meant that the various modules could do things like: from . import noKwargs # "." is "mesonbuild.modules" Which breaks when you remove __init__.py's "unused" import. I could have tagged that import with "# noqa: F401", but instead I chose to have each of the module import directly from "..interpreterbase" instead of ".".
2017-06-26Fixed issues raised in review.Jussi Pakkanen1-0/+1
2017-06-26Converted some modules.Jussi Pakkanen1-1/+0
2017-06-26Add kwarg checker in module code.Jussi Pakkanen1-0/+2
2017-01-09There are two different kinds of extensions: modules that create newJussi Pakkanen1-1/+2
objects directly and snippets that just call into interpreter methods.
2017-01-04Create a module return value object.Jussi Pakkanen1-0/+4
2016-01-16Renamed meson package to mesonbuild so that we can have a script named meson ↵Jussi Pakkanen1-0/+21
in the same toplevel dir.