File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 44Sync files from upstream release.
55"""
66
7- __requires__ = ['autocommand' , 'requests_toolbelt' , 'packaging' ]
7+ __requires__ = [
8+ 'autocommand' ,
9+ 'requests_toolbelt' ,
10+ 'packaging' ,
11+ ]
812
913
1014import pathlib
@@ -16,9 +20,9 @@ from requests_toolbelt import sessions
1620
1721
1822gh_content = sessions .BaseUrlSession (
19- 'https://raw.githubusercontent.com/python/cpython/' )
20- gh_api = sessions . BaseUrlSession (
21- 'https://api.github.com/repos/python/cpython/' )
23+ 'https://raw.githubusercontent.com/python/cpython/'
24+ )
25+ gh_api = sessions . BaseUrlSession ( 'https://api.github.com/repos/python/cpython/' )
2226
2327paths = (
2428 'Lib/configparser.py' ,
@@ -61,8 +65,10 @@ def run(pre=False):
6165 resp .raise_for_status ()
6266 pathlib .Path (path ).write_bytes (resp .content )
6367 cmd = [
64- 'git' , 'commit' ,
68+ 'git' ,
69+ 'commit' ,
6570 '-a' ,
66- '-m' , f'cpython-{ version } rev={ tag ["commit" ]["sha" ][:12 ]} ' ,
71+ '-m' ,
72+ f'cpython-{ version } rev={ tag ["commit" ]["sha" ][:12 ]} ' ,
6773 ]
6874 subprocess .run (cmd )
You can’t perform that action at this time.
0 commit comments