diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,12 @@ hooks: - id: codespell +- repo: https://github.com/pre-commit/mirrors-mypy + rev: 'master' + hooks: + - id: mypy + args: [] + # unfortunately, we are far from being able to enable this... # - repo: https://github.com/PyCQA/pydocstyle.git # rev: 4.0.0 diff --git a/mypy.ini b/mypy.ini --- a/mypy.ini +++ b/mypy.ini @@ -5,6 +5,9 @@ # 3rd party libraries without stubs (yet) +[mypy-aiohttp.*] +ignore_missing_imports = True + [mypy-aiohttp_utils.*] ignore_missing_imports = True @@ -40,3 +43,13 @@ [mypy-systemd.*] ignore_missing_imports = True + +[mypy-hypothesis.*] +ignore_missing_imports = True + +[mypy-swh.docs.*] +ignore_missing_imports = True + +[mypy-setuptools.*] +ignore_missing_imports = True +