aboutsummaryrefslogtreecommitdiff
path: root/mesonrewriter.py
AgeCommit message (Collapse)AuthorFilesLines
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-09-21flake8: Perform suggested whitespace/formatting changesLuke Shumaker1-1/+0
This only touches newlines, spaces, and (occaisionally) commas. Anything else is left for another commit.
2017-08-02Write deprecation warnings to stderr.Jussi Pakkanen1-1/+2
2017-08-02Print deprecation warnings on old style commands.Jussi Pakkanen1-2/+3
2017-08-02Turned rewriter into an internal module.Jussi Pakkanen1-37/+4
2016-12-04Store subdir information for each node so we can remove files set in other ↵Jussi Pakkanen1-3/+3
subdirectories.
2016-12-04Rewriter is not polished so print a warning.Jussi Pakkanen1-0/+1
2016-12-04Renamed rewriter.Jussi Pakkanen1-0/+63