mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2026-04-21 09:16:55 +00:00
Suppress incorrect mypy shutil.copyfileobj error (python/mypy#8962)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user