Skip to content

Commit

Permalink
mypy: support mbedtls_dev.foo
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gilles-peskine-arm committed Dec 10, 2020
1 parent 2adebc8 commit 86fc21c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[mypy]
mypy_path = scripts
namespace_packages = True
warn_unused_configs = True

0 comments on commit 86fc21c

Please sign in to comment.