Skip to content

Commit c8e5505

Browse files
committed
Updated version.py template to include __all__
1 parent d665621 commit c8e5505

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/setuptools_scm/_integration/dump_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@
1515
".py": """\
1616
# file generated by setuptools-scm
1717
# don't change, don't track in version control
18+
19+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
20+
1821
TYPE_CHECKING = False
1922
if TYPE_CHECKING:
2023
from typing import Tuple, Union
24+
2125
VERSION_TUPLE = Tuple[Union[int, str], ...]
2226
else:
2327
VERSION_TUPLE = object

0 commit comments

Comments
 (0)