style: ruff line-fold in client.py + update uv.lock to v0.3.6 (v0.3.7)

- client.py: collapse 3-line raise SynologyError(...) to one line
  (fits within 100 chars; ruff format output)
- uv.lock: package version entry updated from 0.2.4 to 0.3.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-15 06:50:47 +02:00
parent f2abf2af1e
commit 1bb75c9f36
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -482,8 +482,6 @@ class FileStationClient:
code = body.get("error", {}).get("code", 0)
raise SynologyError(_error_message(code, api), code=code)
except (ValueError, KeyError):
raise SynologyError(
f"Unexpected response content-type: {content_type}"
) from None
raise SynologyError(f"Unexpected response content-type: {content_type}") from None
return resp.content