mypy: support mbedtls_dev.foo
Tell mypy to support packages without an __init__.py (PEP 420 namespace packages). Python 3.3 and (modern) Pylint support them out of the box, but mypy needs to be told to support them. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Родитель
2adebc89da
Коммит
86fc21cd3b
|
@ -1,3 +1,4 @@
|
|||
[mypy]
|
||||
mypy_path = scripts
|
||||
namespace_packages = True
|
||||
warn_unused_configs = True
|
||||
|
|
Загрузка…
Ссылка в новой задаче