mypy: Enable explicit_package_bases.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-10-25 15:46:56 -07:00
parent 8045cf4e65
commit 4e360828ba

View file

@ -1,5 +1,10 @@
[mypy]
mypy_path = $MYPY_CONFIG_FILE_DIR/stubs
mypy_path =
$MYPY_CONFIG_FILE_DIR/stubs,
$MYPY_CONFIG_FILE_DIR/zulip,
$MYPY_CONFIG_FILE_DIR/zulip_bots,
$MYPY_CONFIG_FILE_DIR/zulip_botserver,
explicit_package_bases = True
check_untyped_defs = True
disallow_any_generics = True