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
In napari/utils/misc.py both def ensure_iterable and def is_iterable seem to have keywords arguments that are never used (color=False, and allow_none=False), leading to non-covered branches.
I suggest to deprecate passing the keyword arguments, then open an issue to remove branches.
The text was updated successfully, but these errors were encountered:
…6256 (napari#6836)
# References and relevant issues
Supposed to Closenapari#6256. I am not sure about the stacklevel arg of the
warning.
# Description
Added DeprecationWarning if arguments passed and removed the
functionality related to them within the functions.
# Regarding checklist
I am not sure about the docs repo.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Wouter-Michiel Vierdag <michiel.vierdag@embl.de>
Co-authored-by: Wouter-Michiel Vierdag <w-mv@hotmail.com>
🧰 Task
In
napari/utils/misc.py
bothdef ensure_iterable
anddef is_iterable
seem to have keywords arguments that are never used (color=False
, andallow_none=False
), leading to non-covered branches.I suggest to deprecate passing the keyword arguments, then open an issue to remove branches.
The text was updated successfully, but these errors were encountered: