Project skeleton
Some checks failed
HACS Validation / validate (push) Failing after 38s
Validate with hassfest / validate (push) Failing after 41s

This commit is contained in:
Adrian Rumpold
2025-04-07 10:17:40 +02:00
commit 5180992e98
23 changed files with 3302 additions and 0 deletions

51
pyproject.toml Normal file
View File

@@ -0,0 +1,51 @@
[project]
name = "envertech-logger"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [{ name = "Adrian Rumpold", email = "a.rumpold@gmail.com" }]
requires-python = ">=3.13"
dependencies = []
[project.scripts]
envertech-logger = "envertech_logger:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"homeassistant>=2025.4.1",
"pytest>=8.3.5",
"pytest-asyncio>=0.26.0",
"ruff>=0.11.4",
]
[tool.hatch.build.targets.wheel]
packages = ["custom_components/pv_microinverter"]
[tool.ruff]
src = ["custom_components"]
preview = true
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"W",
"B",
"UP",
"C4",
"PYI",
"PTH",
"T10", # prevent stray debug breakpoints
]
ignore = [
"E501", # Line too long
"RUF029", # Unused Async (FastAPI routes are async)
]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"