theodox / mGui

Python module for cleaner maya GUI layout syntax
MIT License
123 stars 23 forks source link

Feature idea: debug mode asserts #105

Open theodox opened 6 years ago

theodox commented 6 years ago

As part of the idea for converting our tests to a formal mock library, it might be nice to add a debug mode where users could enable a flag that would aggressively ensure that passed in arguments were of the correct type and nature -- not quite MyLint but something that would do a good job of catching things like strings-for-numbers or non-mgui classes where mgui was expected....