Enabled all Ruff lint rules and resolved findings with justified inline suppressions.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 14s
CI / Tests (Python 3.13) (push) Successful in 14s
CI / Tests (Python 3.14) (push) Successful in 11s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 5s
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 14s
CI / Tests (Python 3.13) (push) Successful in 14s
CI / Tests (Python 3.14) (push) Successful in 11s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 5s
This commit is contained in:
@@ -92,5 +92,5 @@ def get_manager(ctx: ModuleContext) -> QuoteManager:
|
||||
"""
|
||||
manager = ctx.state.get("manager")
|
||||
if not isinstance(manager, QuoteManager):
|
||||
raise RuntimeError("QuoteManager is not initialized.")
|
||||
raise RuntimeError("QuoteManager is not initialized.") # noqa: TRY004 # state error, not a type error
|
||||
return manager
|
||||
|
||||
Reference in New Issue
Block a user