mirror of
https://github.com/commaai/msgq.git
synced 2026-06-08 05:54:44 +08:00
43 lines
1.0 KiB
TOML
43 lines
1.0 KiB
TOML
[project]
|
|
name = "msgq"
|
|
version = "0.0.1"
|
|
description = "Lock-free IPC pub/sub message queue"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11,<3.13"
|
|
license = {text = "MIT"}
|
|
authors = [{name = "comma.ai"}]
|
|
classifiers = [
|
|
"Natural Language :: English",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: System :: Hardware",
|
|
]
|
|
dependencies = [
|
|
"setuptools", # for distutils
|
|
"Cython",
|
|
"scons",
|
|
"catch2 @ git+https://github.com/commaai/dependencies.git@release-catch2#subdirectory=catch2",
|
|
"ruff",
|
|
"parameterized",
|
|
"cppcheck",
|
|
"cpplint",
|
|
"codespell",
|
|
"ty",
|
|
"lefthook",
|
|
]
|
|
|
|
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
|
|
[tool.ruff]
|
|
lint.select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
|
|
lint.ignore = ["W292", "E741", "E402", "C408", "ISC003"]
|
|
lint.flake8-implicit-str-concat.allow-multiline=false
|
|
|
|
line-length = 160
|
|
target-version="py311"
|
|
|
|
[tool.ty.src]
|
|
exclude = ["site_scons/"]
|
|
|
|
[tool.ty.rules]
|
|
# Cython modules are compiled at build time, not available for static analysis
|
|
unresolved-import = "ignore"
|