diff --git a/pyproject.toml b/pyproject.toml index 8fb496b5..54ebc666 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,7 @@ doc = [ ] dev = [ "ibex_bluesky_core[doc]", - "ruff==0.15.13", # Update manually so we don't get new rules 'by accident' + "ruff==0.15.14", # Update manually so we don't get new rules 'by accident' "pyright==1.1.409", # Update manually "pytest", "pytest-asyncio", diff --git a/src/ibex_bluesky_core/callbacks/_fitting.py b/src/ibex_bluesky_core/callbacks/_fitting.py index 21f9e4a4..edd93ffd 100644 --- a/src/ibex_bluesky_core/callbacks/_fitting.py +++ b/src/ibex_bluesky_core/callbacks/_fitting.py @@ -392,7 +392,7 @@ def event(self, doc: Event) -> Event: for livefit in self._livefits: rem_guess = livefit.method.guess - try: + try: # noqa: PLW0717 if init_guess: # Use previous fit results as initial guess for next fit def guess_func( diff --git a/src/ibex_bluesky_core/run_engine/__init__.py b/src/ibex_bluesky_core/run_engine/__init__.py index a83821b2..d8779360 100644 --- a/src/ibex_bluesky_core/run_engine/__init__.py +++ b/src/ibex_bluesky_core/run_engine/__init__.py @@ -178,7 +178,7 @@ def outer_plan(): "To call a sub plan from within an outer plan, " "use 'yield from subplan(...)' instead.\n" ) - try: + try: # noqa: PLW0717 if RE.state != "idle": raise RuntimeError( "Cannot run plan; RunEngine is not idle at start of run_plan call. "