@@ -221,8 +221,10 @@ def create_channel_color_ui() -> Column:
221221
222222 color_picker = ColorPicker (title = "Channel Color" , width = 100 )
223223
224- def update_selected_color ( # noqa: ARG001 # skipcq: PYL-W0613
225- attr : str , old : str , new : str
224+ def update_selected_color (
225+ attr : str , # noqa: ARG001 # skipcq: PYL-W0613
226+ old : str , # noqa: ARG001 # skipcq: PYL-W0613
227+ new : str ,
226228 ) -> None :
227229 """Update the selected color in multichannel ui."""
228230 selected = color_source .selected .indices
@@ -245,8 +247,10 @@ def apply_changes() -> None:
245247
246248 apply_button .on_click (apply_changes )
247249
248- def update_color_picker ( # noqa: ARG001 # skipcq: PYL-W0613
249- attr : str , old : str , new : str
250+ def update_color_picker (
251+ attr : str , # noqa: ARG001 # skipcq: PYL-W0613
252+ old : str , # noqa: ARG001 # skipcq: PYL-W0613
253+ new : str ,
250254 ) -> None :
251255 """Update the color picker when a new channel is selected."""
252256 if new :
@@ -266,8 +270,10 @@ def update_color_picker( # noqa: ARG001 # skipcq: PYL-W0613
266270 width = 200 ,
267271 )
268272
269- def enhance_cb ( # noqa: ARG001 # skipcq: PYL-W0613
270- attr : str , old : str , new : str
273+ def enhance_cb (
274+ attr : str , # noqa: ARG001 # skipcq: PYL-W0613
275+ old : str , # noqa: ARG001 # skipcq: PYL-W0613
276+ new : str ,
271277 ) -> None :
272278 """Enhance slider callback."""
273279 UI ["s" ].put (
@@ -935,14 +941,22 @@ def populate_slide_list(slide_folder: Path, search_txt: str | None = None) -> No
935941 UI ["slide_select" ].options = file_list
936942
937943
938- def filter_input_cb (attr : str , old : str , new : str ) -> None : # noqa: ARG001 # skipcq: PYL-W0613
944+ def filter_input_cb (
945+ attr : str , # noqa: ARG001 # skipcq: PYL-W0613
946+ old : str , # noqa: ARG001 # skipcq: PYL-W0613
947+ new : str , # noqa: ARG001 # skipcq: PYL-W0613
948+ ) -> None :
939949 """Change predicate to be used to filter annotations."""
940950 build_predicate ()
941951 UI ["vstate" ].update_state = 1
942952 UI ["vstate" ].to_update .update (["overlay" ])
943953
944954
945- def cprop_input_cb (attr : str , old : str , new : list [str ]) -> None : # noqa: ARG001 # skipcq: PYL-W0613
955+ def cprop_input_cb (
956+ attr : str , # noqa: ARG001 # skipcq: PYL-W0613
957+ old : str , # noqa: ARG001 # skipcq: PYL-W0613
958+ new : list [str ],
959+ ) -> None :
946960 """Change property to color by."""
947961 if len (new ) == 0 :
948962 return
0 commit comments