diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2020-11-07 11:00:30 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2020-11-07 11:10:01 +0100 |
commit | 1b3237ba383ba644628defcfde443e9a4e5af69c (patch) | |
tree | fff15e73a0c5973ee105b11301f021edd8320a51 /.gitlab-ci.yml | |
parent | 3e5eece5e1e5d77d2c5ea355bc8637549388b9d5 (diff) | |
download | gobject-introspection-1b3237ba383ba644628defcfde443e9a4e5af69c.tar.gz |
Add basic mypy support
Silence some errors, run mypy in CI
Adding annotations to functions/classes will make mypy check them.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9e79b97..2d79aa1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,8 +56,9 @@ fedora-x86_64-meson: - cd .. - mkdir -p public - mv _build/docs/reference/html/ public/girepository/ - - python3 -m pip install --user flake8 + - python3 -m pip install --user flake8 mypy - python3 -m flake8 --count + - python3 -m mypy . except: - tags artifacts: |