Changeset View
Changeset View
Standalone View
Standalone View
mypy.ini
[mypy] | [mypy] | ||||
namespace_packages = True | namespace_packages = True | ||||
# due to the conditional import logic on swh.journal, in some cases a specific | # due to the conditional import logic on swh.journal, in some cases a specific | ||||
# type: ignore is needed, in other it isn't... | # type: ignore is needed, in other it isn't... | ||||
warn_unused_ignores = False | warn_unused_ignores = False | ||||
# support for sqlalchemy magic: see https://github.com/dropbox/sqlalchemy-stubs | # support for sqlalchemy magic: see https://github.com/dropbox/sqlalchemy-stubs | ||||
plugins = sqlmypy | plugins = sqlmypy | ||||
# 3rd party libraries without stubs (yet) | # 3rd party libraries without stubs (yet) | ||||
[mypy-cassandra.*] | [mypy-cassandra.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-confluent_kafka.*] | |||||
ignore_missing_imports = True | |||||
# only shipped indirectly via hypothesis | # only shipped indirectly via hypothesis | ||||
[mypy-django.*] | [mypy-django.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-pkg_resources.*] | [mypy-pkg_resources.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-psycopg2.*] | [mypy-psycopg2.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-pytest.*] | [mypy-pytest.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-pytest_kafka.*] | |||||
ignore_missing_imports = True | |||||
[mypy-systemd.daemon.*] | [mypy-systemd.daemon.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-tenacity.*] | [mypy-tenacity.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
# temporary work-around for landing typing support in spite of the current | # temporary work-around for landing typing support in spite of the current | ||||
# journal<->storage dependency loop | # journal<->storage dependency loop | ||||
[mypy-swh.journal.*] | [mypy-swh.journal.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True | ||||
[mypy-pytest_postgresql.*] | [mypy-pytest_postgresql.*] | ||||
ignore_missing_imports = True | ignore_missing_imports = True |