File: pyproject.toml

package info (click to toggle)
python-hyperion-py 0.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 400 kB
  • sloc: python: 2,771; makefile: 9
file content (71 lines) | stat: -rw-r--r-- 1,537 bytes parent folder | download | duplicates (2)
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
[tool.poetry]
name = "hyperion-py"
version = "0.7.5"
description = "Hyperion Ambient Lighting Python Package"
authors = ["Dermot Duffy <dermot.duffy@gmail.com>"]
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 = "^0.3.0"
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]
addopts = "-qq --timeout=9"
console_output_style = "count"
testpaths = [
  "tests",
]
markers = [
  "asyncio",
]
[tool.coverage.run]
branch = false

[tool.coverage.report]
show_missing = true
fail_under = 95