[project] name = "msgq" requires-python = ">= 3.11" version = "0.1.0" dependencies = [ "numpy", "Cython", "pycapnp", "setuptools", ] [project.optional-dependencies] dev = [ "scons", "pre-commit", "ruff", "parameterized", "coverage", "pytest", "pytest-cov", ] [build-system] requires = ["setuptools","scons","Cython","numpy"] build-backend = "setuptools.build_meta" # 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.ruff.lint.flake8-tidy-imports.banned-api] "pytest.main".msg = "pytest.main requires special handling that is easy to mess up!" "unittest".msg = "Use pytest" [mypy.tool] # third-party packages ignore_missing_imports=true # helpful warnings warn_redundant_casts=true warn_unreachable=true warn_unused_ignores=true # restrict dynamic typing warn_return_any=true check_untyped_defs=true [tool.pytest.ini_options] addopts = "--durations=10" testpaths = [ "msgq/tests", "msgq/visionipc/tests", ]