mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2025-01-01 07:29:40 +00:00
Suppress incorrect mypy shutil.copyfileobj error (python/mypy#8962)
This commit is contained in:
parent
98551263b3
commit
028be98e8d
@ -307,7 +307,7 @@ def show_filtered_resources(resources: typing.Sequence[api.Resource], format: st
|
|||||||
elif format == "raw":
|
elif format == "raw":
|
||||||
# Data only as raw bytes
|
# 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":
|
elif format == "derez":
|
||||||
# Like DeRez with no resource definitions
|
# Like DeRez with no resource definitions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user