Modernize to pyproject.toml and fix test assertion

- Remove requirements.txt and requirements-dev.txt (duplicates pyproject.toml)
- Update Dockerfile to use 'pip install .' instead of requirements.txt
- Update README.md and GitHub workflows to use 'pip install -e .[dev]'
- Fix test_get_valuation_comparables: check for 'deal_date' instead of non-existent 'asset_room_num'
  (rooms field is optional and excluded when None due to exclude_none=True)
- Fix fastmcp version constraint in pyproject.toml (>=2.13.0,<3.0.0)
- Add vcrpy to dev dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Nitzan P
2025-11-18 23:00:03 +02:00
parent 96ec29dad2
commit 5be68a5b04
9 changed files with 30 additions and 51 deletions
+3 -1
View File
@@ -96,7 +96,9 @@ class TestMCPToolsE2E:
assert "comparables" in data
comp = data["comparables"][0]
assert "deal_amount" in comp
assert "asset_room_num" in comp
# rooms field is optional and excluded when None
# Just verify the comparable has basic required fields
assert "deal_date" in comp
def test_get_deal_statistics(self):
"""Test deal statistics calculation."""