[project] name = "backend" version = "0.1.0" description = "FitMop Backend API" readme = "README.md" requires-python = ">=3.13" dependencies = [ "aiohttp>=3.13.2", "fastapi>=0.128.0", "garminconnect>=0.2.36", "garth>=0.5.20", "pandas>=2.3.3", "pydantic>=2.0.0", "python-dotenv>=1.2.1", "uvicorn>=0.40.0", "ruff>=0.14.10", ] [dependency-groups] dev = [ "httpx>=0.28.1", "pytest>=9.0.2", "pytest-cov>=7.0.0", ] [tool.ruff] target-version = "py312" line-length = 88 [tool.ruff.lint] select = ["E4", "E7", "E9", "F", "I"] ignore = [] fixable = ["ALL"] [tool.ruff.format] quote-style = "double" indent-style = "space" line-ending = "auto" [tool.pytest.ini_options] pythonpath = ["src"] testpaths = ["tests"] python_files = "test_*.py" addopts = "--cov=src --cov-report=term-missing --cov-report=xml --cov-fail-under=100" [tool.coverage.run] omit = [ "src/generate_mock_data.py", "src/test_agent.py", ] [tool.coverage.report] show_missing = true fail_under = 100