-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (80 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
92 lines (80 loc) · 2.29 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[project]
name = "pybricksdev"
version = "2.3.2"
description = "Pybricks developer tools"
authors = [{ name = "The Pybricks Authors", email = "dev@pybricks.com" }]
maintainers = [
{ name = "Laurens Valk", email = "laurens@pybricks.com" },
{ name = "David Lechner", email = "david@pybricks.com" }
]
license = { text = "MIT" }
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dynamic = ["dependencies"]
[project.urls]
homepage = "https://pybricks.com"
repository = "https://github.com/pybricks/pybricksdev"
documentation = "https://docs.pybricks.com/projects/pybricksdev"
"Changelog" = "https://github.com/pybricks/pybricksdev/blob/master/CHANGELOG.md"
"Support" = "https://github.com/pybricks/support/discussions"
"Issues" = "https://github.com/pybricks/support/issues"
[project.scripts]
pybricksdev = 'pybricksdev.cli:main'
[tool.poetry]
include = [
"AUTHORS.md"
]
[tool.poetry.dependencies]
argcomplete = ">=3.6.2"
bleak = ">=1.1.0"
mpy-cross-v5 = ">=1.1.2"
mpy-cross-v6 = ">=1.1.2"
tqdm = ">=4.62.3"
pyusb = ">=1.0.2"
semver = ">=2.13.0"
appdirs = ">=1.4.4"
prompt-toolkit = ">=3.0.18"
packaging = ">=22"
typing-extensions = ">=4.3.0"
reactivex = {version = ">=4.0.4", python = "<4"}
hidapi = ">=0.14.0"
pybricks = {version = ">=3", allow-prereleases = true, python = "<4"}
questionary = {version = ">=2.1.1", python = "<4"}
[tool.poetry.group.lint.dependencies]
black = ">=23,<25"
flake8 = ">=6.0.0"
isort = ">=5.12.0"
[tool.poetry.group.docs.dependencies]
sphinx = ">=6.1.3"
sphinx-rtd-theme = ">=1.2.0"
toml = ">=0.10.2"
typing-extensions = ">=4.5.0"
[tool.poetry.group.test.dependencies]
coverage = {extras = ["toml"], version = ">=7.2.3"}
pytest = ">=7.3.1"
pytest-asyncio = ">=0.21.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py310']
[tool.isort]
profile = "black"
src_paths = ["demo", "pybricksdev", "tests"]
known_third_party = ["usb"]
[tool.pytest.ini_options]
asyncio_mode = "strict"
filterwarnings = [
"error",
# Known issue with reactivex package
"ignore::DeprecationWarning:reactivex.internal",
]
[tool.coverage.run]
branch = true
command_line = "-m pytest"
source = ["pybricksdev"]