diff --git a/src/plyngent/agent/todo_stack.py b/src/plyngent/agent/todo_stack.py index ba5a8c5..b2d860d 100644 --- a/src/plyngent/agent/todo_stack.py +++ b/src/plyngent/agent/todo_stack.py @@ -107,7 +107,7 @@ class TodoStack: return self._data @classmethod - def from_raw(cls, raw: object | None) -> TodoStack: # noqa: C901, PLR0911 + def from_raw(cls, raw: object | None) -> TodoStack: # noqa: C901, PLR0911 — three stored stack shapes if raw is None or not isinstance(raw, dict): return cls() blob = cast("dict[str, object]", raw) diff --git a/src/plyngent/cli/display.py b/src/plyngent/cli/display.py index 9e84521..8ce0cc9 100644 --- a/src/plyngent/cli/display.py +++ b/src/plyngent/cli/display.py @@ -1083,7 +1083,7 @@ def _flush_assistant_markdown(body: str, *, pretty: bool) -> None: click.echo() -async def render_events( # noqa: C901, PLR0912, PLR0915 +async def render_events( # noqa: C901, PLR0912, PLR0915 — one branch per event type events: AsyncIterator[AgentEvent], *, verbose: bool | None = None, diff --git a/src/plyngent/cli/slash.py b/src/plyngent/cli/slash.py index af90ee7..1802cee 100644 --- a/src/plyngent/cli/slash.py +++ b/src/plyngent/cli/slash.py @@ -852,7 +852,7 @@ def provider_cmd(state: ReplState, name: str | None) -> None: help="Merge remote (and recovered) model ids into plyngent.toml for this provider.", ) @click.pass_obj -def models_cmd(state: ReplState, *, refresh: bool, persist: bool) -> None: # noqa: C901 +def models_cmd(state: ReplState, *, refresh: bool, persist: bool) -> None: # noqa: C901 — list / recover / persist """List models (remote-first, plus config-only ids). Always tries GET /models.""" del refresh # always re-fetch; flag kept for CLI compatibility / docs remote: list[str] | None = None @@ -1512,7 +1512,7 @@ def history_cmd( @click.argument("action", required=False, type=TODOS_ACTION) @click.argument("rest", required=False, nargs=-1, type=str) @click.pass_obj -def todos_cmd( # noqa: C901, PLR0911, PLR0912, PLR0915 +def todos_cmd( # noqa: C901, PLR0911, PLR0912, PLR0915 — one branch per /todos action state: ReplState, action: str | None, rest: tuple[str, ...] ) -> None: """Show or edit the LIFO stack of **task groups**.