Revision b2bba450aaa808406b024800dcd50b4778313903 authored by David Douard on 09 April 2020, 14:56:44 UTC, committed by David Douard on 23 April 2020, 11:31:25 UTC
This componant makes more sense in the swh-storage package.
1 parent fe56005
Raw File
mypy.ini
[mypy]
namespace_packages = True

# due to the conditional import logic on swh.journal, in some cases a specific
# type: ignore is needed, in other it isn't...
warn_unused_ignores = False

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


# 3rd party libraries without stubs (yet)

[mypy-cassandra.*]
ignore_missing_imports = True

# only shipped indirectly via hypothesis
[mypy-django.*]
ignore_missing_imports = True

[mypy-pkg_resources.*]
ignore_missing_imports = True

[mypy-psycopg2.*]
ignore_missing_imports = True

[mypy-pytest.*]
ignore_missing_imports = True

[mypy-systemd.daemon.*]
ignore_missing_imports = True

[mypy-tenacity.*]
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

[mypy-pytest_postgresql.*]
ignore_missing_imports = True
back to top