|
26 | 26 |
|
27 | 27 | with TemporaryDirectory() as clones_dir: |
28 | 28 | Repo.clone_from( |
29 | | - "https://github.com/python/devguide.git", |
30 | | - devguide_dir := Path(clones_dir, "devguide"), |
| 29 | + 'https://github.com/python/devguide.git', |
| 30 | + devguide_dir := Path(clones_dir, 'devguide'), |
31 | 31 | depth=1, |
32 | 32 | ) |
33 | 33 | latest_branch = branches_from_devguide(devguide_dir)[0] |
34 | 34 | Repo.clone_from( |
35 | | - "https://github.com/python/cpython.git", |
36 | | - Path(clones_dir, "cpython"), |
| 35 | + 'https://github.com/python/cpython.git', |
| 36 | + Path(clones_dir, 'cpython'), |
37 | 37 | depth=1, |
38 | 38 | branch=latest_branch, |
39 | 39 | ) |
40 | | - subprocess.run(["make", "-C", Path(clones_dir, "cpython/Doc"), "venv"], check=True) |
| 40 | + subprocess.run(['make', '-C', Path(clones_dir, 'cpython/Doc'), 'venv'], check=True) |
41 | 41 | subprocess.run( |
42 | | - ["make", "-C", Path(clones_dir, "cpython/Doc"), "gettext"], check=True |
| 42 | + ['make', '-C', Path(clones_dir, 'cpython/Doc'), 'gettext'], check=True |
43 | 43 | ) |
44 | 44 | switcher_languages = list(switcher.get_languages()) |
45 | 45 | for language, repo in repositories.get_languages_and_repos(devguide_dir): |
|
124 | 124 | completion_progress=completion_progress, generation_time=generation_time |
125 | 125 | ) |
126 | 126 |
|
127 | | -with open("index.html", "w") as file: |
| 127 | +with open('index.html', 'w') as file: |
128 | 128 | file.write(output) |
0 commit comments