Revision d8fa30bacfccf31f001d7b8c367e57da7069b66a authored by Stefano Zacchiroli on 28 September 2019, 10:42:34 UTC, committed by Stefano Zacchiroli on 01 October 2019, 06:25:21 UTC
the real type is Optional[Callable[..., Any]], but redefinitions of imported
stuff in try..except is currently not supported by mypy, see
https://github.com/python/mypy/issues/1153
1 parent 976aab3
Raw File
mypy.ini
[mypy]
namespace_packages = True
warn_unused_ignores = True

# support for sqlalchemy magic: see https://github.com/dropbox/sqlalchemy-stubs
plugins = sqlmypy


# 3rd party libraries without stubs (yet)

[mypy-pkg_resources.*]
ignore_missing_imports = True

[mypy-psycopg2.*]
ignore_missing_imports = True

[mypy-pytest.*]
ignore_missing_imports = True

# temporary work-around for landing typing support in spite of the current
# journal<->storage dependency loop
[mypy-swh.journal.*]
ignore_missing_imports = True
back to top