Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4ce3fa8

Browse files
Allow integrations with digits in hassfest QS runtime_data (home-assistant#136479)
1 parent ea3ccc0 commit 4ce3fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎script/hassfest/quality_scale_validation/runtime_data.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from script.hassfest import ast_parse_module
1111
from script.hassfest.model import Config, Integration
1212

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /