mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Update typing 16 (#48087)
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
"""Models for scaffolding."""
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
from pathlib import Path
|
||||
from typing import Set
|
||||
|
||||
import attr
|
||||
|
||||
@ -21,9 +22,9 @@ class Info:
|
||||
discoverable: str = attr.ib(default=None)
|
||||
oauth2: str = attr.ib(default=None)
|
||||
|
||||
files_added: Set[Path] = attr.ib(factory=set)
|
||||
tests_added: Set[Path] = attr.ib(factory=set)
|
||||
examples_added: Set[Path] = attr.ib(factory=set)
|
||||
files_added: set[Path] = attr.ib(factory=set)
|
||||
tests_added: set[Path] = attr.ib(factory=set)
|
||||
examples_added: set[Path] = attr.ib(factory=set)
|
||||
|
||||
@property
|
||||
def integration_dir(self) -> Path:
|
||||
|
Reference in New Issue
Block a user