fix(types): annotate inspect settings fixture
tracker-policy-pr / check-pr (pull_request) Successful in 11s
test / integration-docker (pull_request) Successful in 18s
test / unit (pull_request) Successful in 1m41s
test / integration-firecracker (pull_request) Successful in 3m27s
test / coverage (pull_request) Successful in 22s
test / publish-infra (pull_request) Has been skipped
test / integration-docker (push) Successful in 34s
test / unit (push) Successful in 45s
Update Quality Badges / update-badges (push) Successful in 45s
lint / lint (push) Successful in 53s
test / integration-firecracker (push) Successful in 5m5s
test / coverage (push) Successful in 42s
test / publish-infra (push) Successful in 1m44s
tracker-policy-pr / check-pr (pull_request) Successful in 11s
test / integration-docker (pull_request) Successful in 18s
test / unit (pull_request) Successful in 1m41s
test / integration-firecracker (pull_request) Successful in 3m27s
test / coverage (pull_request) Successful in 22s
test / publish-infra (pull_request) Has been skipped
test / integration-docker (push) Successful in 34s
test / unit (push) Successful in 45s
Update Quality Badges / update-badges (push) Successful in 45s
lint / lint (push) Successful in 53s
test / integration-firecracker (push) Successful in 5m5s
test / coverage (push) Successful in 42s
test / publish-infra (push) Successful in 1m44s
This commit was merged in pull request #463.
This commit is contained in:
@@ -37,7 +37,9 @@ def _inspect_shape(d: dict[str, object]) -> dict[str, object]:
|
||||
controls = ("matches", "auth_scheme", "token_env", "git", "preserve_auth")
|
||||
moved = {key: out.pop(key) for key in controls if key in out}
|
||||
if moved:
|
||||
inspected = dict(out.get("inspect", {})) # type: ignore[arg-type]
|
||||
inspected: dict[str, object] = dict(
|
||||
out.get("inspect", {}) # type: ignore[arg-type]
|
||||
)
|
||||
inspected.update(moved)
|
||||
out["inspect"] = inspected
|
||||
return out
|
||||
|
||||
Reference in New Issue
Block a user