mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-12-29 04:29:24 +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":
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user