mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Adjust hassfest.manifest based on config.action (#100577)
This commit is contained in:
@@ -4,7 +4,7 @@ from __future__ import annotations
|
||||
from dataclasses import dataclass, field
|
||||
import json
|
||||
import pathlib
|
||||
from typing import Any
|
||||
from typing import Any, Literal
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -26,7 +26,7 @@ class Config:
|
||||
|
||||
specific_integrations: list[pathlib.Path] | None
|
||||
root: pathlib.Path
|
||||
action: str
|
||||
action: Literal["validate", "generate"]
|
||||
requirements: bool
|
||||
errors: list[Error] = field(default_factory=list)
|
||||
cache: dict[str, Any] = field(default_factory=dict)
|
||||
|
||||
Reference in New Issue
Block a user