Complete PR review feedback implementation with clean importlib.resources approach

- Remove redundant path checks between Path("conf/custom_models.json") and Path.cwd() variants
- Implement proper importlib.resources.files('conf') approach for robust packaging
- Create conf/__init__.py to make conf a proper Python package
- Update pyproject.toml to include conf* in package discovery
- Clean up verbose comments and simplify resource loading logic
- Fix test mocking to use correct importlib.resources.files target
- All tests passing (8/8) with proper resource and fallback functionality

Addresses all gemini-code-assist bot feedback from PR #227
This commit is contained in:
Sven Lito
2025-08-10 22:13:25 +07:00
parent 84de9b026f
commit 5e599b9e7d
4 changed files with 20 additions and 23 deletions

1
conf/__init__.py Normal file
View File

@@ -0,0 +1 @@
"""Configuration data for Zen MCP Server."""