Fix ruff lint errors

This commit is contained in:
2026-09-21 14:43:37 +00:00
parent d0ce619db7
commit cc2cc23b3b
19 changed files with 118 additions and 99 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ fields:
```python
class Hello(msgspec.Struct, tag="hello"):
langs: list[str] # as today: languages the model can produce
model: str = "" # free-form model string (logging, debugging)
langs: list[str] # as today: languages the model can produce
model: str = "" # free-form model string (logging, debugging)
modes: list[str] = ["segments"] # job granularities accepted
```
+1
View File
@@ -50,6 +50,7 @@ class Node(msgspec.Struct, omit_defaults=True):
#: "Language index maintenance" below).
langs: dict[str, True] = {}
class Data(msgspec.Struct):
...
#: API keys gating the translator service WebSocket (/_translate/{key}):