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
2026-02-15 16:44:40 -05:00
parent 184b8aca1c
commit c4fa6937ab
2 changed files with 5 additions and 2 deletions

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 ---