Update typing 16 (#48087)
This commit is contained in:
parent
0f5efca76b
commit
4cb7718192
59 changed files with 180 additions and 166 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Validate integration JSON files."""
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
from typing import Dict
|
||||
|
||||
from .model import Integration
|
||||
|
||||
|
@ -20,7 +21,7 @@ def validate_json_files(integration: Integration):
|
|||
return
|
||||
|
||||
|
||||
def validate(integrations: Dict[str, Integration], config):
|
||||
def validate(integrations: dict[str, Integration], config):
|
||||
"""Handle JSON files inside integrations."""
|
||||
if not config.specific_integrations:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue