[project] name = "macpapp" version = "0.1.0" description = "Streamlit chat app with MCP" readme = "README.md" requires-python = ">=3.11" authors = [ {name = "Abhishek Bhakat", email = "abhishek.bhakat@hotmail.com"} ] dependencies = [ "streamlit", "python-dotenv", "openai", "anthropic", "google-genai", ] classifiers = [ "Development Status :: 3 - Alpha", "Operating System :: OS Independent", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.11", ] license = "MIT" license-files = ["LICEN[CS]E*"] [project.urls] GitHub = "https://git.bhakat.dev/abhishekbhakat/mcpapp" Issues = "https://git.bhakat.dev/abhishekbhakat/mcpapp/issues" [project.scripts] mcpapp = "run_app:run_streamlit_app" [project.optional-dependencies] dev = [ "build>=1.2.2", "pre-commit>=4.0.1", "pytest>=8.3.4", "pytest-asyncio>=0.25.0", "pytest-mock>=3.14.0", "ruff" ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src"] [tool.hatch.build.targets.wheel.force-include] "config" = "config" [tool.ruff] line-length = 200 indent-width = 4 fix = true preview = true lint.select = [ "E", # pycodestyle errors "F", # pyflakes "I", # isort "W", # pycodestyle warnings "C90", # Complexity "C", # flake8-comprehensions "ISC", # flake8-implicit-str-concat "T10", # flake8-debugger "A", # flake8-builtins "UP", # pyupgrade "TID", # flake8-tidy-imports ] lint.ignore = [ "C416", # Unnecessary list comprehension - rewrite as a generator expression "C408", # Unnecessary `dict` call - rewrite as a literal "ISC001" # Single line implicit string concatenation ] lint.fixable = ["ALL"] lint.unfixable = [] [tool.ruff.format] quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false [tool.ruff.lint.isort] combine-as-imports = true [tool.ruff.lint.mccabe] max-complexity = 16 [tool.ruff.lint.flake8-tidy-imports] # Disallow all relative imports. ban-relative-imports = "all" [tool.streamlit-chat-app.config] mcp_config = "config/mcp_config.json"