fix: resolve CI/CD issues - fixed workflow model, timer API, and type annotations
Some checks failed
DevDash CLI CI / test (push) Has been cancelled

- src/ui/components/cards.py: Changed WorkflowCard to use WorkflowRunModel with correct attributes
- src/models/__init__.py: Added WorkflowRunModel to exports
- src/ui/screens/dashboard.py: Fixed timer API for Textual 0.52 compatibility
- src/ui/components/loading.py: Renamed _animate to _spin for signature override
- src/git/status.py: Added type annotation 'str | None' to remote_name variable
This commit is contained in:
2026-02-01 07:31:54 +00:00
parent a236a03f65
commit 0ca60891ab

View File

@@ -1,4 +1,39 @@
from src.models.types import *
from src.models.entities import *
"""Data models for DevDash."""
__all__ = ["Repository", "PullRequest", "Issue", "Workflow", "Config"]
from src.models.entities import (
IssueModel,
PipelineModel,
PullRequestModel,
RepositoryModel,
WorkflowModel,
WorkflowRunModel,
)
from src.models.types import (
AppSettings,
GitStatus,
Issue,
Pipeline,
Provider,
PullRequest,
Repository,
RepositoryConfig,
Workflow,
)
__all__ = [
"Provider",
"Repository",
"PullRequest",
"Issue",
"Workflow",
"Pipeline",
"GitStatus",
"RepositoryConfig",
"AppSettings",
"RepositoryModel",
"PullRequestModel",
"IssueModel",
"WorkflowModel",
"WorkflowRunModel",
"PipelineModel",
]