diff --git a/mypy.ini b/mypy.ini index af039c135f..b48f2ebdd1 100644 --- a/mypy.ini +++ b/mypy.ini @@ -70,6 +70,12 @@ ignore_missing_imports = True [mypy-zulip] ignore_missing_imports = True +# This isn't the right solution (we should tell mypy where to find +# them), but it's necessary to avoid warnings like this: +# note: Import of 'zulip' ignored +# I'm not sure how to tell mypy where to find these without having it +# also process everything else in the Zulip virtualenv... +follow_imports = skip [mypy-zulip_bots.lib] ignore_missing_imports = True