From 634a497dd5a41dd47f157f73200a462b360e2a21 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Thu, 21 Oct 2021 12:03:51 +0200 Subject: [PATCH] Tweak mypy config to handle namespaces --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index 70043a99..c236305f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -125,6 +125,11 @@ line_length = 100 multi_line_output = 3 [mypy] +explicit_package_bases = True +mypy_path = $MYPY_CONFIG_FILE_DIR/src +namespace_packages = True + +[mypy-ruamel] ignore_missing_imports = True [pydocstyle]