Closed jwodder closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.46%. Comparing base (
83beb34
) to head (a9ad991
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
So we might indeed refactor it to reside in multiple files but not sure if we are reaching threshold yet -- couldn't we substitute __version__
within __main__.py
directly (if you really want to be able to python -m duct
it)
The biggest benefit to putting __version__
in __init__.py
is that it'll show up when users do pydoc duct
. Other than that, it's mostly just tradition.
I'd vote to go ahead and leave 'version' in 'init' so we don't build up weirdness to address later. If the no-install use case is requested by users maybe we revisit?
ok
The module needs to be converted to a package directory so that it can contain a
py.typed
file, which is necessary so that mypy can type-check uses ofduct
items in the test code.