Spaces:
Runtime error
Runtime error
| [project] | |
| name = "autonomous-vision" | |
| version = "0.1.0" | |
| description = "Autonomous Car Camera Vision System - Real-time object detection for dashcam footage" | |
| readme = "README.md" | |
| requires-python = ">=3.10" | |
| authors = [ | |
| {name = "Sebastian", email = "sebastian@example.com"} | |
| ] | |
| dependencies = [ | |
| "gradio>=4.0.0", | |
| "ultralytics>=8.0.0", | |
| "opencv-python>=4.8.0", | |
| "numpy>=1.24.0", | |
| "torch>=2.0.0", | |
| "torchvision>=0.15.0", | |
| "pillow>=10.0.0", | |
| "tqdm>=4.65.0", | |
| "transformers>=4.30.0", | |
| "scipy>=1.10.0", | |
| ] | |
| [project.optional-dependencies] | |
| dev = [ | |
| "pytest>=7.4.0", | |
| "pytest-cov>=4.1.0", | |
| "ruff>=0.1.0", | |
| "mypy>=1.5.0", | |
| ] | |
| [build-system] | |
| requires = ["setuptools>=68.0", "wheel"] | |
| build-backend = "setuptools.build_meta" | |
| [tool.setuptools.packages.find] | |
| where = ["src"] | |
| [tool.ruff] | |
| target-version = "py310" | |
| line-length = 100 | |
| src = ["src", "tests"] | |
| [tool.ruff.lint] | |
| select = [ | |
| "E", # pycodestyle errors | |
| "W", # pycodestyle warnings | |
| "F", # Pyflakes | |
| "I", # isort | |
| "B", # flake8-bugbear | |
| "C4", # flake8-comprehensions | |
| "UP", # pyupgrade | |
| "ARG", # flake8-unused-arguments | |
| "SIM", # flake8-simplify | |
| ] | |
| ignore = ["E501"] | |
| [tool.ruff.lint.isort] | |
| known-first-party = ["autonomous_vision"] | |
| [tool.mypy] | |
| python_version = "3.10" | |
| warn_return_any = true | |
| warn_unused_configs = true | |
| disallow_untyped_defs = true | |
| disallow_incomplete_defs = true | |
| ignore_missing_imports = true | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| python_files = ["test_*.py"] | |
| addopts = "-v --tb=short" | |