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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
[tool.poetry]
name = "python-homewizard-energy"
version = "0.0.0"
description = "Asynchronous Python client for the HomeWizard Energy"
authors = ["DCSBL"]
maintainers = ["DCSBL"]
license = "Apache License 2.0"
readme = "README.md"
homepage = "https://github.com/homewizard/python-homewizard-energy"
repository = "https://github.com/homewizard/python-homewizard-energy"
documentation = "https://github.com/homewizard/python-homewizard-energy"
classifiers = [
]
packages = [
{ include = "homewizard_energy" },
]
[tool.poetry.dependencies]
python = "^3.12"
aiohttp = ">=3.0.0"
async-timeout = ">=4.0.3,<6.0.0"
multidict = "^6.0.5" ## To fix aiohttp dependency at python 3.12
backoff = "^2.2.1"
orjson = "^3.10"
mashumaro = "^3.15"
awesomeversion = ">=24.6.0"
[tool.poetry.dev-dependencies]
aresponses = "^3.0.0"
flake8 = "^4.0.1"
flake8-docstrings = "^1.7.0"
isort = "^6.1.0"
pre-commit = "^4.5.0"
pre-commit-hooks = "^6.0.0"
pylint = "^4.0.4"
pytest = "^8.4.2"
pytest-asyncio = "^1.3.0"
pytest-cov = "^7.0.0"
yamllint = "^1.37.1"
pyupgrade = "^3.21.2"
flake8-simplify = "^0.22.0"
vulture = "^2.13"
flake8-bandit = "^3.0.0"
flake8-bugbear = "^23.3.12"
flake8-builtins = "^3.1.0"
flake8-comprehensions = "^3.17.0"
flake8-eradicate = "^1.2.1"
flake8-markdown = "^0.3.0"
ruff = "0.14.7"
darglint = "^1.8.1"
safety = "^3.7.0"
codespell = "^2.4.1"
bandit = "^1.9.2"
syrupy = "^5.0.0"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/homewizard/python-homewizard-energy/issues"
Changelog = "https://github.com/homewizard/python-homewizard-energy/releases"
[tool.coverage.paths]
source = ["homewizard_energy"]
[tool.coverage.report]
show_missing = true
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.coverage.run]
branch = true
source = ["homewizard_energy"]
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pylint.BASIC]
good-names = [
"_",
"ex",
"fp",
"i",
"id",
"j",
"k",
"on",
"Run",
"T",
]
[tool.pylint."MESSAGES CONTROL"]
disable= [
"too-few-public-methods",
"duplicate-code",
"format",
"unsubscriptable-object",
"too-many-instance-attributes",
"unnecessary-lambda",
]
[tool.pylint.SIMILARITIES]
ignore-imports = true
[tool.pylint.FORMAT]
max-line-length=120
[tool.pylint.DESIGN]
max-attributes=20
[tool.pytest.ini_options]
addopts = "--cov"
asyncio_mode = "auto"
[tool.vulture]
min_confidence = 80
paths = ["homewizard_energy"]
verbose = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
|