-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (78 loc) · 1.79 KB
/
pyproject.toml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[tool.poetry]
name = "open_precision"
version = "0.1.0"
description = ""
readme = "README.md"
authors = ["larsjaeger <lars@jgr.one>"]
# --- declare dependencies ---
[tool.poetry.dependencies]
python = "^3.11"
numpy = "^1.22.4"
pyserial = "^3.5"
pyquaternion = "^0.9.9"
flatten-dict = "^0.4.2"
"ruamel.yaml" = "^0.17.21"
sparkfun-qwiic-icm20948 = "^0.0.1"
adafruit-circuitpython-bno055 = "^5.4.1"
python-socketio = "^5.7.1"
websockets = "^10.3"
ruamel-yaml-string = "^0.1.0"
neomodel = "^5.0.0"
fastapi = "^0.96.0"
redis = "^4.5.5"
fastapi-utils = "^0.2.1"
dill = "^0.3.6"
aioprocessing = { extras = ["dill"], version = "^2.0.1" }
makefun = "^1.15.1"
gpiod = "^1.5.4"
httpx = "^0.25.0"
adafruit-bno055 = "^1.0.2"
uvicorn = "^0.18.2"
adafruit-extended-bus = "^1.0.2"
pyubx2 = "^1.2.35"
[tool.poetry.group.dev] # Development dependencies for testing, formatting/ linting and building docs.
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
ruff = "^0.1.1"
nox = "^2023.4.22"
pdoc = "^14.1.0"
pre-commit = "^3.5.0"
viztracer = "^0.16.1"
[tool.poetry.group.deployment.dependencies]
spidev = "^3.6"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# --- configure development tool chain ---
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --import-mode=importlib --ignore=tests/manual_tests/"
pythonpath = [
"src"
]
testpaths = [
"tests"
]
[tool.ruff]
# Include all Python files, including type stubs and Jupyter notebooks.
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
[tool.ruff.lint]
ignore = [
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"ISC001",
"ISC002"
]
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"