mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-08 13:33:42 +08:00
22a8575199
Keep official openpilot ancestry and dependency licenses. Store resources directly in Git, remove LFS setup requirements, and leave the downloadable big model outside the source tree.
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "teleoprtc"
|
|
version = "1.0.1"
|
|
authors = [{ name="Vehicle Researcher", email="user@comma.ai" }]
|
|
description = "Comma webRTC abstractions"
|
|
readme = "README.md"
|
|
license = { file="LICENSE" }
|
|
requires-python = ">=3.12"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"libdatachannel-py>=2026.1.0.dev2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"parameterized>=0.8",
|
|
"pre-commit",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-xdist"
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/commaai/teleoprtc"
|
|
"Bug Tracker" = "https://github.com/commaai/teleoprtc/issues"
|
|
|
|
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
|
[tool.ruff]
|
|
line-length = 160
|
|
target-version="py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF008", "RUF100", "A", "B", "TID251"]
|
|
ignore = ["W292", "E741", "E402", "C408", "ISC003", "B027", "B024"]
|
|
flake8-implicit-str-concat.allow-multiline=false
|
|
|
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
"unittest".msg = "Use pytest"
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--durations=10 -n auto"
|