Suppress incorrect mypy shutil.copyfileobj error (python/mypy#8962)

This commit is contained in:
dgelessus 2020-07-23 13:31:57 +02:00
parent 98551263b3
commit 028be98e8d
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ def show_filtered_resources(resources: typing.Sequence[api.Resource], format: st
elif format == "raw":
# Data only as raw bytes
shutil.copyfileobj(f, sys.stdout.buffer)
shutil.copyfileobj(f, sys.stdout.buffer) # type: ignore # Workaround for python/mypy#8962
elif format == "derez":
# Like DeRez with no resource definitions