__init__ needs to be leaner and meaner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
snapcraft/
snapcraft/
snapcraft/
snapcraft/
snapcraft/
snapcraft/
__init__.py should be used for imports only (common convention) and we should research getting rid of it all together by looking at https:/
Answer in one of our code reviews:
"""
There are a bunch of issues in mypy related to using __init__.py, one of them is that for this to work you would need to import snapcraft.
"""
description: | updated |