lint: ruff format + one auto-fix so the push self-test is green again
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
`scripts/lint.sh --fix` from the pinned lint devshell: 90 Python files reformatted (ruff format, mechanical) and one C420 (dict comprehension → dict.fromkeys) in tests/unit/test_f211_sso_skip.py. The push self-test had been failing at the lint stage since build 1313 (2026-08-31) on exactly these files; nothing else changed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqkQq3CDmFWcQ7u1LzoyRz
This commit is contained in:
@@ -91,6 +91,6 @@ def test_login_endpoint_returns_json(live_app):
|
||||
assert body is not None, f"/rest/login returned no parseable JSON: state={state}"
|
||||
# If it's a dict, it's the expected envelope; if it's a list, n8n shouldn't do that on this
|
||||
# endpoint, but accept either; only reject obvious non-shapes.
|
||||
assert isinstance(
|
||||
body, dict | list
|
||||
), f"/rest/login returned unexpected JSON type {type(body).__name__}: {body!r}"
|
||||
assert isinstance(body, dict | list), (
|
||||
f"/rest/login returned unexpected JSON type {type(body).__name__}: {body!r}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user