mirror of
https://github.com/openai/codex.git
synced 2026-11-07 08:34:29 +00:00
Workspace lints and disallow unwrap (#855)
Sets submodules to use workspace lints. Added denying unwrap as a workspace level lint, which found a couple of cases where we could have propagated errors. Also manually labeled ones that were fine by my eye.
This commit is contained in:
1 parent
9fdf2fa066
commit
87cf120873
22 files changed
+95
-8
No files matched your search
@@ -227,6 +227,8 @@ impl MessageProcessor {
|
||||
where
|
||||
T: ModelContextProtocolRequest,
|
||||
{
|
||||
// result has `Serialized` instance so should never fail
|
||||
#[expect(clippy::unwrap_used)]
|
||||
let response = JSONRPCMessage::Response(JSONRPCResponse {
|
||||
jsonrpc: JSONRPC_VERSION.into(),
|
||||
id,
|
||||
|
||||
Reference in new issue
Block a user