diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-02-25 09:20:34 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-02-29 00:55:46 +0200 |
commit | 74452f2a1c842291c893504876507946103ac77f (patch) | |
tree | 3c60ac06f30d370fb375e8b70169aeb84ec4630a /.github | |
parent | 9823db5e2a2c56210b942e9e56a1ccf552340dc2 (diff) | |
download | meson-74452f2a1c842291c893504876507946103ac77f.zip meson-74452f2a1c842291c893504876507946103ac77f.tar.gz meson-74452f2a1c842291c893504876507946103ac77f.tar.bz2 |
mlog: fix remaining mypy errors and add to mypy check
There were two things mypy was warning about:
1) it doesn't understand hasattr()
2) It was possible for mlog.{error,warning,deprecation} to get passed
multiple values for the once keyword argument.
Diffstat (limited to '.github')
-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 54535b3..d74043b 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 + - 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 |