Closed
Description
In the following layout:
- mypy.ini contains
[mypy]
disallow_untyped_defs = True
[mypy-a.b.*]
disallow_untyped_defs = False
a
contains__init__.py
and a directorya/b
a/b
containsc.py
with an untyped def
Mypy will complain about missing type annotations in a.b.c
. If I create a/b/__init__.py
, the errors go away. This is a regression in v0.800.