Files
msgq/pyproject.toml
Adeeb Shihadeh 902e5f721b build
2026-05-31 15:05:58 -07:00

59 lines
1.3 KiB
TOML

[build-system]
requires = [
"setuptools>=69",
"wheel",
"Cython>=3",
"scons>=4",
"catch2 @ git+https://github.com/commaai/dependencies.git@release-catch2#subdirectory=catch2",
]
build-backend = "setuptools.build_meta"
[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 = []
[project.optional-dependencies]
dev = [
"Cython",
"setuptools",
"scons",
"catch2 @ git+https://github.com/commaai/dependencies.git@release-catch2#subdirectory=catch2",
"ruff",
"parameterized",
"cppcheck",
"cpplint",
"codespell",
"ty",
"lefthook",
]
[tool.setuptools.packages.find]
include = ["msgq", "msgq.*"]
# 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"