-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (54 loc) · 1.63 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pybricks-ble"
version = "0.0.0" # version is currently unused but a required metadata field
authors = [{ name = "Frederik Leonhardt", email = "[email protected]" }]
description = "Communicate with Pybricks devices using BLE data broadcasting"
requires-python = ">=3.10"
license = { text = "GNU General Public License v3 (GPLv3)" }
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Communications",
"Topic :: Software Development :: Embedded Systems",
]
dependencies = [
"bleak >= 0.22.0",
"bluetooth-adapters ~= 0.16",
"cachetools ~= 5.3",
"dbus-fast ~= 2.15",
"pybricks ~= 3.5.0",
]
[project.optional-dependencies]
debug = ["bluetooth-data-tools ~= 1.15"]
dev = [
"async-timer ~= 1.1.6",
"mypy ~= 1.13.0",
"pybricks-ble[debug]",
"pytest ~= 8.3",
"pytest-asyncio ~= 0.24.0",
"python-dbusmock ~= 0.32.2",
"ruff ~= 0.7.4",
"types-cachetools ~= 5.3",
"types-setuptools",
]
docs = ["pdoc ~= 15.0"]
[project.urls]
Repository = "https://github.com/fkleon/pybricks-ble"
[project.scripts]
pb_broadcast = "pb_ble.cli.broadcast:main"
pb_observe = "pb_ble.cli.observe:main"
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I001"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
combine-as-imports = true