fix: resolve ruff lint issues in storage tool and tests

- Move _ALLOWED_LOG_PREFIXES to module level (N806: constant naming)
- Use f-string conversion flag {e!s} instead of {str(e)} (RUF010)
- Fix import block sorting in both files (I001)
This commit is contained in:
Jacob Magar committed 2026-02-15 16:44:40 -05:00
1 parent 184b8aca1c
commit c4fa6937ab
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ from conftest import make_tool_fn
from unraid_mcp.core.exceptions import ToolError
from unraid_mcp.tools.storage import format_bytes
# --- Unit tests for helpers ---