diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ef2972df4..14f8219d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,7 +51,7 @@ repos: # Python linting using ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.1 + rev: v0.2.2 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/src/mqt/qmap/visualization/visualize_search_graph.py b/src/mqt/qmap/visualization/visualize_search_graph.py index 3f9d85b27..93cff2017 100644 --- a/src/mqt/qmap/visualization/visualize_search_graph.py +++ b/src/mqt/qmap/visualization/visualize_search_graph.py @@ -1960,7 +1960,7 @@ def update_timestep(change: MutableMapping[str, int]) -> None: disabled=False, ) timestep_slider = IntSlider( - min=timestep_play.min, max=timestep_play.max, step=timestep_play.step, layout=Layout(width=f"{width-232}px") + min=timestep_play.min, max=timestep_play.max, step=timestep_play.step, layout=Layout(width=f"{width - 232}px") ) jslink((timestep_play, "value"), (timestep_slider, "value")) timestep_play.observe(update_timestep, names="value") @@ -2094,7 +2094,12 @@ def update_layer(new_layer: int) -> None: layer_slider = interactive( update_layer, new_layer=IntSlider( - min=0, max=number_of_layers - 1, step=1, value=0, description="Layer:", layout=Layout(width=f"{width-80}px") + min=0, + max=number_of_layers - 1, + step=1, + value=0, + description="Layer:", + layout=Layout(width=f"{width - 80}px"), ), )