Typing issue for is_empty
friggog opened this issue · comments
Charlie Hewitt commented
Michael Dawson-Haggerty commented
Hey, yeah definitely wrong, seems like we could just add the property decorator to the parent and fix this. It would be nice to unit test all the type hints (#2188 ) as otherwise they're likely to be intermittently incorrect.
I thought this should have caught this bug:
pytest --typeguard-packages=trimesh test_mutate.py
However since the subclass has correct type hints the parent isn't caught. Any ideas on how to check these?
Charlie Hewitt commented
Do you have any mypy checks running? this usually turns up any typing errors for us, particularly if configured to be reasonably strict