Skip to content

Commit

Permalink
Allow integrations with digits in hassfest QS runtime_data (#136479)
Browse files Browse the repository at this point in the history
  • Loading branch information
autinerd authored Feb 4, 2025
1 parent ea3ccc0 commit 4ce3fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/hassfest/quality_scale_validation/runtime_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from script.hassfest import ast_parse_module
from script.hassfest.model import Config, Integration

_ANNOTATION_MATCH = re.compile(r"^[A-Za-z]+ConfigEntry$")
_ANNOTATION_MATCH = re.compile(r"^[A-Za-z][A-Za-z0-9]+ConfigEntry$")
_FUNCTIONS: dict[str, dict[str, int]] = {
"__init__": { # based on ComponentProtocol
"async_migrate_entry": 2,
Expand Down

0 comments on commit 4ce3fa8

Please sign in to comment.