-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (41 loc) · 1.14 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (41 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "autonomy-stack"
version = "0.0.0"
description = "A small autonomous car: perception → localization → planning → control."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"numpy>=1.26",
"opencv-python>=4.9",
]
[project.optional-dependencies]
# Dev tools are upper-bounded so a future release can't silently break CI.
dev = [
"ruff>=0.6,<0.9",
"mypy>=1.11,<2.0",
"pytest>=8.0,<9.0",
]
pi = [
"adafruit-circuitpython-pca9685>=3.4",
"adafruit-circuitpython-bno055>=5.4",
]
[tool.hatch.build.targets.wheel]
packages = ["autonomy_stack"]
[tool.ruff]
target-version = "py311" # lint for the minimum supported version
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"] # error/pyflakes/imports/pyupgrade/bugbear
[tool.mypy]
python_version = "3.11"
strict = true
files = ["autonomy_stack", "tests"]
[[tool.mypy.overrides]]
module = ["cv2.*", "adafruit_pca9685.*", "adafruit_bno055.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"