v1.2.2 - Code style fixes
🧹 Code Style Fixes
This patch release fixes linting errors that caused CI failures with ruff checks.
🐛 Fixed
Linting compliance issues:
- F401: Removed unused imports (
jsonin mcp_server.py,pytestin test_tool_helpers.py) - UP035: Import
AsyncIteratorfromcollections.abcinstead oftyping(modern Python 3.9+ pattern) - I001: Formatted import blocks for consistency
- B011: Replace
assert Falsewithraise AssertionError()(safer for production)
✅ Verified
- ✅ All ruff checks pass
- ✅ mypy strict mode passes (36 source files)
- ✅ All 96 tests passing
- ✅ No functional changes
📦 What's Changed
All changes are cosmetic code style improvements with zero functional impact. This is a purely technical fix to ensure CI passes completely.
Files modified:
src/ree_mcp/interface/mcp_server.pysrc/ree_mcp/interface/tool_helpers.pytests/unit/interface/test_indicator_config.pytests/unit/interface/test_tool_helpers.py
Full Changelog: v1.2.1...v1.2.2