fix: resolve all cargo clippy warnings

- Fix toml version requirement metadata warning
- Replace clone() with std::slice::from_ref()
- Collapse nested if statements
- Add #[allow(dead_code)] to test utility functions
- Fix unused imports and variables in tests
- Use unwrap_or_else instead of expect with format!
This commit is contained in:
2026-02-15 12:55:26 +03:00
parent d9457018fd
commit 1229235ac7
12 changed files with 23 additions and 30 deletions

View File

@@ -3,7 +3,6 @@
//! These tests verify that the enhanced analysis functionality works correctly
//! with complex code that includes integrations, calls, and docstrings.
use std::fs;
use std::path::Path;
use wtismycode_core::{Config, scanner::FileScanner, python_analyzer::PythonAnalyzer};