mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Add check for typed ConfigEntry in quality scale validation (#132028)
This commit is contained in:
@@ -22,7 +22,7 @@ def _has_diagnostics_function(module: ast.Module) -> bool:
|
||||
)
|
||||
|
||||
|
||||
def validate(integration: Integration) -> list[str] | None:
|
||||
def validate(integration: Integration, *, rules_done: set[str]) -> list[str] | None:
|
||||
"""Validate that the integration implements diagnostics."""
|
||||
|
||||
diagnostics_file = integration.path / "diagnostics.py"
|
||||
|
||||
Reference in New Issue
Block a user