Apply suggestion from review comments

Co-authored-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
This commit is contained in:
Pradyun Gedam 2020-05-21 19:29:18 +05:30 committed by GitHub
parent 8d79644170
commit f5ff110df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ def upload_release(session):
f"Remove dist/ and run 'nox -s build-release -- {version}'"
)
# Sanity check: Make sure the files are correctly named.
distfile_names = [os.path.basename(f) for f in distribution_files]
distfile_names = sorted(map(os.path.basename, distribution_files))
expected_distribution_files = [
f"pip-{version}-py2.py3-none-any.whl",
f"pip-{version}.tar.gz",