Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

Adds namespace_packages to mypy_default.ini #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ warn_unused_ignores=False
# Flip them on if you feel adventurous.
disallow_untyped_defs=False
check_untyped_defs=False

# Python3 doesn't require __init__.py, but MyPy won't find modules without
# init files unless this is set to True
namespace_packages=True
```

If you disagree with the defaults above, you can specify your own *mypy*
Expand Down
4 changes: 4 additions & 0 deletions mypy_default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ warn_unused_ignores=False
# Flip them on if you feel adventurous.
disallow_untyped_defs=False
check_untyped_defs=False

# Python3 doesn't require __init__.py, but MyPy won't find modules without
# init files unless this is set to True
namespace_packages=True