21 lines
430 B
TOML
21 lines
430 B
TOML
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "B", "UP", "SIM", "RUF"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["custom_components"]
|
|
known-third-party = ["homeassistant"]
|
|
force-sort-within-sections = true
|
|
|
|
[tool.mypy]
|
|
python_version = "3.13"
|
|
ignore_missing_imports = true
|
|
check_untyped_defs = true
|