sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
commit
de77c89cf6
3995 files changed
+1260688
No files matched your search
@@ -0,0 +1,75 @@
|
||||
[project]
|
||||
name = "pandacan"
|
||||
version = "0.0.10"
|
||||
description = "Code powering the comma.ai panda"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11,<3.13" # macOS doesn't work with 3.13 due to pycapnp from opendbc
|
||||
license = {text = "MIT"}
|
||||
authors = [{name = "comma.ai"}]
|
||||
classifiers = [
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: System :: Hardware",
|
||||
]
|
||||
dependencies = [
|
||||
"libusb1",
|
||||
"libusb-package",
|
||||
"opendbc @ git+https://github.com/sunnypilot/opendbc.git@master#egg=opendbc",
|
||||
"spidev; platform_system == 'Linux'", # runtime dependency on comma four
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"scons",
|
||||
"pycryptodome >= 3.9.8",
|
||||
"cffi",
|
||||
"flaky",
|
||||
"pytest",
|
||||
"pytest-xdist",
|
||||
"pytest-mock",
|
||||
"pytest-timeout",
|
||||
"ruff",
|
||||
"setuptools",
|
||||
"gcc-arm-none-eabi @ git+https://github.com/commaai/dependencies.git@release-gcc-arm-none-eabi#subdirectory=gcc-arm-none-eabi",
|
||||
"cppcheck @ git+https://github.com/commaai/dependencies.git@release-cppcheck#subdirectory=cppcheck",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = [
|
||||
"panda",
|
||||
"panda.python",
|
||||
"panda.board",
|
||||
"panda.board.body",
|
||||
"panda.board.jungle",
|
||||
]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
"panda.board" = ["health.h"]
|
||||
"panda.board.jungle" = ["jungle_health.h"]
|
||||
|
||||
[tool.setuptools.package-dir]
|
||||
panda = "."
|
||||
|
||||
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
||||
[tool.ruff]
|
||||
line-length = 160
|
||||
target-version="py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
|
||||
ignore = ["W292", "E741", "E402", "C408", "ISC003"]
|
||||
flake8-implicit-str-concat.allow-multiline=false
|
||||
|
||||
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
||||
"pytest.main".msg = "pytest.main requires special handling that is easy to mess up!"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-Werror --strict-config --strict-markers --maxprocesses=8 -nauto --durations=10 --ignore-glob='*.sh' --ignore=tests/som --ignore=tests/hitl"
|
||||
python_files = "test_*.py"
|
||||
testpaths = [
|
||||
"tests/"
|
||||
]
|
||||
Reference in new issue
Block a user