pyinvoke / invoke

Pythonic task management & command execution.
http://pyinvoke.org
BSD 2-Clause "Simplified" License
4.42k stars 370 forks source link

Explicitly re-export names from top-level package using `__all__` #981

Open mthuurne opened 10 months ago

mthuurne commented 10 months ago

This avoids the re-exports from being flagged as errors when a project that uses Invoke is checked using mypy --no-implicit-reexport.

It also obsoletes all flake8 suppressions in __init__.py.

I assumed the following names should be re-exported:

I assumed the following names should not be re-exported:

ogenstad commented 9 months ago

Was also going to open a PR for this. I'd move the __all__ so it's below the imports though.