diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-12-07 14:42:23 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-03-02 10:34:55 +0100 |
commit | c14aea2812fd2be94998bdb174e9a4681aeea394 (patch) | |
tree | 7f8532528ea3d84db5491f5d766415649592bcd1 /.github/workflows/lint_mypy.yml | |
parent | 200738a3e6b48671aac2865c304dded96179e4ac (diff) | |
download | meson-c14aea2812fd2be94998bdb174e9a4681aeea394.zip meson-c14aea2812fd2be94998bdb174e9a4681aeea394.tar.gz meson-c14aea2812fd2be94998bdb174e9a4681aeea394.tar.bz2 |
types: Annotate mparser.py
This also fixes that the keys in ArgumentNode.kwargs are
all of the type BaseNode now. Before this commit, it was
possible that both strings and Nodes where used as keys.
Diffstat (limited to '.github/workflows/lint_mypy.yml')
-rw-r--r-- | .github/workflows/lint_mypy.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/lint_mypy.yml b/.github/workflows/lint_mypy.yml index d74043b..5f98068 100644 --- a/.github/workflows/lint_mypy.yml +++ b/.github/workflows/lint_mypy.yml @@ -30,4 +30,4 @@ jobs: with: python-version: '3.x' - run: python -m pip install mypy - - run: mypy --follow-imports=skip mesonbuild/mtest.py mesonbuild/minit.py mesonbuild/mintro.py mesonbuild/msetup.py mesonbuild/wrap tools/ mesonbuild/modules/fs.py mesonbuild/dependencies/boost.py mesonbuild/dependencies/mpi.py mesonbuild/dependencies/hdf5.py mesonbuild/compilers/mixins/intel.py mesonbuild/mlog.py + - run: mypy --follow-imports=skip mesonbuild/mtest.py mesonbuild/minit.py mesonbuild/mintro.py mesonbuild/mparser.py mesonbuild/msetup.py mesonbuild/wrap tools/ mesonbuild/modules/fs.py mesonbuild/dependencies/boost.py mesonbuild/dependencies/mpi.py mesonbuild/dependencies/hdf5.py mesonbuild/compilers/mixins/intel.py mesonbuild/mlog.py |