Skip to content

v1.2.2 - Code style fixes

Choose a tag to compare

@ESJavadex ESJavadex released this 12 Oct 10:35
· 9 commits to main since this release

🧹 Code Style Fixes

This patch release fixes linting errors that caused CI failures with ruff checks.

🐛 Fixed

Linting compliance issues:

  • F401: Removed unused imports (json in mcp_server.py, pytest in test_tool_helpers.py)
  • UP035: Import AsyncIterator from collections.abc instead of typing (modern Python 3.9+ pattern)
  • I001: Formatted import blocks for consistency
  • B011: Replace assert False with raise 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.py
  • src/ree_mcp/interface/tool_helpers.py
  • tests/unit/interface/test_indicator_config.py
  • tests/unit/interface/test_tool_helpers.py

Full Changelog: v1.2.1...v1.2.2