feat: prepare mi-fitness-mcp for first public release

Package the standalone Mi Fitness MCP with clearer public docs, release metadata, CI, and safer local repository hygiene so it is ready to publish without secrets or work identity leakage.
This commit is contained in:
Aleksej Kubulashvili committed 2026-03-12 14:12:49 +03:00
1 parent 6771fc841c
commit df914ea56a
23 files changed
+754 -426

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
from mi_fitness_mcp.config import Config, load_config, save_config
def test_config_roundtrip(tmp_path, monkeypatch):
config_file = tmp_path / "config.json"
monkeypatch.setattr("mi_fitness_mcp.config.get_config_path", lambda: config_file)
config = Config(mode="mi_fitness_cloud", region="ru")
save_config(config)
loaded = load_config()
assert loaded.mode == "mi_fitness_cloud"
assert loaded.region == "ru"
assert loaded.database_path.name == "mi_fitness.db"