Closed hanjinliu closed 5 months ago
The recent updates focus on refactoring import statements in the magicclass
package to use absolute paths instead of relative ones. This change enhances the clarity and maintainability of the code by explicitly specifying module locations. Additionally, the handling of MagicParameter
options and conditional error raising based on configuration defaults has been refined.
File(s) | Change Summary |
---|---|
magicclass/_gui/_base.py |
Refactored import statements from relative to absolute paths, enhancing module clarity and maintainability. |
magicclass/_gui/class_gui.py |
Introduced a conditional block to raise errors based on defaults["raise-conversion-error"] configuration. |
In lines of code so clear and bright,
Imports now in absolute light,
Magic parameters, handled with care,
Errors raised from defaults' lair.
Refactoring done, the code's delight,
A rabbit's joy in every byte! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
An update following magicgui=0.8.3
Summary by CodeRabbit
Refactor
MagicParameter
options to improve functionality.New Features