[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "robotics-webapp"
version = "0.1.0-alpha"
description = "Comprehensive robotics control platform with AI integration"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi==0.124.4",
"uvicorn[standard]==0.38.0",
"python-socketio==5.15.1",
"python-multipart==0.0.20",
"pydantic==2.12.5",
"aiohttp==3.9.1",
"websockets==15.0.1",
"openai==1.51.2",
"anthropic==0.36.2",
"opencv-python==4.10.0.84",
"pillow==10.2.0",
"numpy==1.26.3",
"requests==2.31.0",
"python-dotenv==1.0.0",
"ruff==0.6.8"
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"httpx>=0.24.0"
]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**/*" = ["B011"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--cov=backend",
"--cov-report=html",
"--cov-report=term-missing",
"--cov-fail-under=95"
]