-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (58 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
70 lines (58 loc) · 1.68 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[build-system]
requires = ["setuptools >= 77.0.3"]
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 = "frederik@leonhardt.co.nz" }]
description = "Communicate with Pybricks devices using BLE data broadcasting"
requires-python = ">=3.10"
license = "GPL-3.0-or-later"
classifiers = [
"Intended Audience :: Developers",
"Topic :: Communications",
"Topic :: Software Development :: Embedded Systems",
]
dependencies = [
"bleak ~= 3.0",
"bluetooth-adapters ~= 2.3",
"cachetools ~= 7.0",
"dbus-fast ~= 5.0",
"pybricks @ git+https://github.com/fkleon/pybricks-api@ble-type-fixes",
]
[dependency-groups]
debug = ["bluetooth-data-tools ~= 1.15"]
dev = [
"async-timer ~= 1.2.0",
"mypy ~= 2.1.0",
"pytest ~= 9.0",
"pytest-asyncio ~= 1.3.0",
"pytest-mock ~= 3.15.1",
"python-dbusmock ~= 0.38.1",
"ruff ~= 0.15.2",
"types-cachetools ~= 7.0",
"types-setuptools",
]
docs = ["pdoc ~= 16.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.mypy]
python_version = "3.10"
ignore_missing_imports = true
check_untyped_defs = true
exclude = ["build/"]
[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