Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
ignore mypy lint due to python/mypy#15031
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed May 28, 2023
1 parent 890e2af commit 6a27e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/novella/templates/hugo/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def install_hugo(to: str, version: t.Optional[str] = None, extended: bool = True
shutil.copyfileobj(requests.get(files[filename], stream=True).raw, fp)
with tarfile.open(path) as archive:
with open(to, 'wb') as fp:
shutil.copyfileobj(
shutil.copyfileobj( # type: ignore[misc] # See https://github.com/python/mypy/issues/15031
t.cast(t.IO[bytes], archive.extractfile('hugo')),
t.cast(t.IO[bytes], fp))

Expand Down

0 comments on commit 6a27e51

Please sign in to comment.