From 4e360828bae8300c2c1358a4aceb81d42c5a5a8f Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 25 Oct 2023 15:46:56 -0700 Subject: [PATCH] mypy: Enable explicit_package_bases. Signed-off-by: Anders Kaseorg --- mypy.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index cb39300f..b0c763c9 100644 --- a/mypy.ini +++ b/mypy.ini @@ -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