forked from JnyJny/busylight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.53 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
[tool.poetry]
name = "busylight-for-humans"
version = "0.26.0"
description = "Control USB connected LED lights, like a human."
authors = ["JnyJny <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/JnyJny/busylight.git"
packages = [ {include = "busylight"} ]
[tool.poetry.dependencies]
python = "^3.7"
bitvector-for-humans = "^0.14.0"
webcolors = "^1.11.1"
pyserial = "^3.5"
importlib-metadata = {version = ">=4.11.3,<7.0.0", python = "<3.8"}
hidapi = "^0.13.1"
loguru = "^0.6.0"
typer = "^0.7.0"
fastapi = ">=0.92,<0.96"
[tool.poetry.extras]
webapi = ["fastapi", "uvicorn"]
[tool.poetry.dev-dependencies]
anyio = {extras = ["trio"], version = "^3.6.2"}
[tool.poetry.scripts]
busylight="busylight.__main__:cli"
busyserve="busylight.__main__:webcli"
[tool.poetry.group.dev.dependencies]
pytest = "^7"
black = ">=22.12,<24.0"
pytest-cov = "^3.0.0"
mypy = ">=0.991,<1.2"
requests = "^2.28.1"
httpx = "^0.23.2"
pytest-mock = "^3.9.0"
[tool.poetry.group.webapi.dependencies]
uvicorn = ">=0.20,<0.22"
[tool.pytest.ini_options]
addopts = "-p no:warnings"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[mypy]
[mypy-webcolors]
ignore_missing_imports = true
[mypy-hid]
ignore_missing_imports = true
[mypy-fastapi]
ignore_missing_imports = true
[mypy-pydantic]
ignore_missing_imports = true
[mypy-uvicorn]
ignore_missing_imports = true
[mypy-loguru]
ignore_missing_imports = true
[mypy-bitvector]
ignore_missing_imports = true
[mypy-fastapi.responses]
ignore_missing_imports = true