-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
72 lines (65 loc) · 1.54 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
67
68
69
70
71
72
[tool.poetry]
name = "hyperion-py"
version = "0.7.5"
description = "Hyperion Ambient Lighting Python Package"
authors = ["Dermot Duffy <[email protected]>"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Home Automation",
]
keywords = [
"hyperion",
]
license = "MIT"
repository = "https://github.com/dermotduffy/hyperion-py"
include = ["hyperion/py.typed", "LICENSE"]
readme = "README.md"
packages = [
{ include = "hyperion" },
]
[tool.poetry.dependencies]
python = "^3.8 | ^3.9"
[tool.poetry.dev-dependencies]
pytest = "^7.0"
pytest-cov = "^3.0.0"
pytest-aiohttp = "^1.0.4"
codecov = "^2.1.12"
pytest-timeout = "^2.1.0"
coverage = "^6.3"
pytest-asyncio = "^0.18.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
# https://github.com/PyCQA/isort/wiki/isort-Settings
profile = "black"
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
known_first_party = [
"hyperion",
"tests",
]
forced_separate = [
"tests",
]
combine_as_imports = true
default_section = "THIRDPARTY"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "-qq --timeout=9 --cov=hyperion"
console_output_style = "count"
testpaths = [
"tests",
]
markers = [
"asyncio",
]
[tool.coverage.run]
branch = false
[tool.coverage.report]
show_missing = true
fail_under = 95