You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin documentation for napari has a set of best practices for developers, which includes a clause recommending not to depend directly on PyQt5 or PySide2 to allow end-users to choose their bindings freely. More details here.
The files using PyQt5 instead of qtpy are listed here ->
Hello team!
The plugin documentation for napari has a set of best practices for developers, which includes a clause recommending not to depend directly on PyQt5 or PySide2 to allow end-users to choose their bindings freely. More details here.
The files using
PyQt5
instead ofqtpy
are listed here ->napari-organoid-counter/napari_organoid_counter/_widget.py
Line 9 in 224eff9
Also I suggest you do not use the
*
import. That is generally not recommendedSome options might include changing this code
To
Or to
I favor option 1 as it is more explicit in what needs to be imported for a given module.
Is there a reason you need PyQt5 explicitly? Could these imports be updated to use
qtpy
for the next release?If you have questions, or need some help, let me know :)
Thanks! 🚀
The text was updated successfully, but these errors were encountered: