teleoprtc/pyproject.toml

53 lines
1.3 KiB
TOML
Raw Normal View History

2023-11-11 08:01:21 +08:00
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
2023-11-28 12:11:27 +08:00
name = "teleoprtc"
2024-03-31 10:47:48 +08:00
version = "1.0.1"
2023-11-11 08:55:20 +08:00
authors = [{ name="Vehicle Researcher", email="user@comma.ai" }]
2023-11-28 12:11:27 +08:00
description = "Comma webRTC abstractions"
2023-11-11 08:01:21 +08:00
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
2023-11-11 08:01:21 +08:00
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
2023-12-01 09:05:04 +08:00
"aiortc>=1.6.0",
2023-11-11 08:01:21 +08:00
"aiohttp>=3.7.0",
"av>=11.0.0,<13.0.0",
2023-11-11 08:01:21 +08:00
"numpy>=1.19.0",
]
[project.optional-dependencies]
dev = [
2023-11-30 04:33:19 +08:00
"parameterized>=0.8",
2024-07-10 03:09:42 +08:00
"pre-commit",
"pytest",
"pytest-asyncio",
"pytest-xdist"
]
2023-11-11 08:01:21 +08:00
[project.urls]
2023-12-01 09:43:54 +08:00
"Homepage" = "https://github.com/commaai/teleoprtc"
"Bug Tracker" = "https://github.com/commaai/teleoprtc/issues"
2023-12-07 07:39:21 +08:00
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
[tool.ruff]
line-length = 160
target-version="py38"
[tool.ruff.lint]
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF008", "RUF100", "A", "B", "TID251"]
ignore = ["W292", "E741", "E402", "C408", "ISC003", "B027", "B024"]
2023-12-07 07:39:21 +08:00
flake8-implicit-str-concat.allow-multiline=false
2024-07-10 03:09:42 +08:00
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"unittest".msg = "Use pytest"
[tool.pytest.ini_options]
addopts = "--durations=10 -n auto"