mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 23:10:11 +00:00
fix: remove duplicated cfg(test) attribute and fix import order
Remove redundant #![cfg(test)] inner attribute from codex_test_helpers.rs (already gated by #[cfg(test)] in mod.rs), fixing the clippy duplicated_attributes warning. Also apply cargo fmt import reordering in tools/mod.rs. https://claude.ai/code/session_017ckCCurNiBL8uzE4dJg59K
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
//! Shared test helpers for OpenAI Codex provider tests.
|
||||
|
||||
#![cfg(test)]
|
||||
|
||||
use crate::config::OpenAiCodexConfig;
|
||||
|
||||
/// Build a minimal JWT for testing (header.payload.signature).
|
||||
|
||||
+1
-1
@@ -26,13 +26,13 @@ pub use autonomy::{
|
||||
AUTONOMOUS_TOOL_DENYLIST, autonomous_allowed_tool_names, autonomous_unavailable_error,
|
||||
autonomous_unavailable_message, is_autonomous_tool_denylisted,
|
||||
};
|
||||
pub use executor::{PtcError, PtcToolResult, ToolExecutor};
|
||||
pub use builder::{
|
||||
BuildPhase, BuildRequirement, BuildResult, BuildSoftwareTool, BuilderConfig, Language,
|
||||
LlmSoftwareBuilder, SoftwareBuilder, SoftwareType, Template, TemplateEngine, TemplateType,
|
||||
TestCase, TestHarness, TestResult, TestSuite, ValidationError, ValidationResult, WasmValidator,
|
||||
};
|
||||
pub(crate) use coercion::prepare_tool_params;
|
||||
pub use executor::{PtcError, PtcToolResult, ToolExecutor};
|
||||
pub use rate_limiter::RateLimiter;
|
||||
pub use registry::ToolRegistry;
|
||||
pub use tool::{
|
||||
|
||||
Reference in New Issue
Block a user