-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
49 lines (41 loc) · 1.26 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
[tool.poetry]
name = "radiacode"
version = "0.3.3"
description = "Library for RadiaCode-101"
authors = ["Maxim Andreev <andreevmaxim@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/cdump/radiacode"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
]
include = ["radiacode-examples/*"]
[tool.poetry.dependencies]
python = "^3.9"
bluepy = { version = "^1.3", markers = "sys_platform != 'darwin'" }
pyusb = "^1.2"
aiohttp = {version = "^3.9", optional = true}
prometheus-client = {version = "^0.19", optional = true}
matplotlib = {version = "^3.7", optional = true}
numpy = {version = "^1.26", optional = true}
pyyaml = {version = "^6.0", optional = true}
[tool.poetry.group.dev.dependencies]
ruff = "^0.1"
mypy = "^1.7"
[tool.poetry.extras]
examples = ["aiohttp", "prometheus-client", "matplotlib", "numpy", "pyyaml"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-select = ["B", "Q"]
line-length = 130
target-version = "py310"
[tool.ruff.flake8-quotes]
inline-quotes = "single"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "F403"]