comparison contrib/automation/hgautomation/pypi.py @ 43076:2372284d9457

formatting: blacken the codebase This is using my patch to black (https://github.com/psf/black/pull/826) so we don't un-wrap collection literals. Done with: hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"' | xargs black -S # skip-blame mass-reformatting only # no-check-commit reformats foo_bar functions Differential Revision: https://phab.mercurial-scm.org/D6971
author Augie Fackler <augie@google.com>
date Sun, 06 Oct 2019 09:45:02 -0400
parents 92593d72e10b
children
comparison
equal deleted inserted replaced
43075:57875cf423c9 43076:2372284d9457
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 # no-check-code because Python 3 native. 8 # no-check-code because Python 3 native.
9 9
10 from twine.commands.upload import ( 10 from twine.commands.upload import upload as twine_upload
11 upload as twine_upload, 11 from twine.settings import Settings
12 )
13 from twine.settings import (
14 Settings,
15 )
16 12
17 13
18 def upload(paths): 14 def upload(paths):
19 """Upload files to PyPI. 15 """Upload files to PyPI.
20 16