X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/544ea9c217cad9459d7b60665db787e94b52f93d..306a513137ec93a5053d415319e24bd4057d4045:/gallery/gallery.py diff --git a/gallery/gallery.py b/gallery/gallery.py index 9758f8f..6b42ec3 100755 --- a/gallery/gallery.py +++ b/gallery/gallery.py @@ -127,7 +127,10 @@ DEFAULT_SLICE = slice(None) # for flake8 def download_and_extract_top_packages( - directory: Path, days: Days = 365, workers: int = 8, limit: slice = DEFAULT_SLICE, + directory: Path, + days: Days = 365, + workers: int = 8, + limit: slice = DEFAULT_SLICE, ) -> Generator[Path, None, None]: with ThreadPoolExecutor(max_workers=workers) as executor: bound_downloader = partial(get_package, version=None, directory=directory) @@ -138,7 +141,7 @@ def download_and_extract_top_packages( def git_create_repository(repo: Path) -> None: subprocess.run(["git", "init"], cwd=repo) - git_add_and_commit(msg="Inital commit", repo=repo) + git_add_and_commit(msg="Initial commit", repo=repo) def git_add_and_commit(msg: str, repo: Path) -> None: