Skip to content

Commit 6259873

Browse files
committed
Give function a meaningful name
1 parent 0aef9d5 commit 6259873

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setuptools_scm/git.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def parse(root, describe_command=DEFAULT_DESCRIBE, pre_parse=warn_on_shallow):
120120
return meta(tag, node=node, dirty=dirty)
121121

122122

123-
def _main():
124-
"""List the files that 'git archive' wants.
123+
def _list_files_in_archive():
124+
"""List the files that 'git archive' generates.
125125
"""
126126
# TarFile wants a seekable stream.
127127
stream = BytesIO(subprocess.check_output(['git', 'archive', 'HEAD']))
@@ -130,4 +130,4 @@ def _main():
130130

131131

132132
if __name__ == "__main__":
133-
_main()
133+
_list_files_in_archive()

0 commit comments

Comments
 (0)