diff --git a/backend/pyproject.toml b/backend/pyproject.toml new file mode 100644 index 0000000..ac3d1cc --- /dev/null +++ b/backend/pyproject.toml @@ -0,0 +1,7 @@ +[tool.pytest.ini_options] +# Add backend/ to sys.path so tests can import app.* +pythonpath = ["."] +testpaths = ["tests"] + +[tool.ruff] +exclude = [".venv"] diff --git a/frontend/src/components/DoraDashboard.tsx b/frontend/src/components/DoraDashboard.tsx index 87fe06a..7bbcf78 100644 --- a/frontend/src/components/DoraDashboard.tsx +++ b/frontend/src/components/DoraDashboard.tsx @@ -44,9 +44,9 @@ const healthColors: Record = { red: 'text-red-400', } -const healthBadge: Record = { +const healthBadge: Record = { green: 'default', - yellow: 'secondary', + yellow: 'warning', red: 'destructive', }