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 /giscanner/utils.py | |
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 'giscanner/utils.py')
-rw-r--r-- | giscanner/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/utils.py b/giscanner/utils.py index d9938fc7..9007db13 100644 --- a/giscanner/utils.py +++ b/giscanner/utils.py @@ -346,5 +346,5 @@ def get_msvcr_overwrite(): import distutils.cygwinccompiler -orig_get_msvcr = distutils.cygwinccompiler.get_msvcr -distutils.cygwinccompiler.get_msvcr = get_msvcr_overwrite +orig_get_msvcr = distutils.cygwinccompiler.get_msvcr # type: ignore +distutils.cygwinccompiler.get_msvcr = get_msvcr_overwrite # type: ignore |