Skip to content

Conversation

yedpodtrzitko
Copy link

Hi,
the first parameter of @classmethod is always Type[something] instead of something, so I fixed it in the type annotations. When I was touching them I also added Optional where applicable.

with open(filename, 'rb') as f:
return cls.read_glb(f, load_file_resources=load_file_resources, resources=resources,
encoding=encoding, basepath=basepath)
return gltf
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code seems unreachable, due to the return on previous line. Same with the other return gltf below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant