From 38ebe61f0223ebe1bd3df620d9bec384670541e2 Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Fri, 16 Jan 2026 23:38:16 -0500 Subject: [PATCH] fix: Apply ruff formatting to config.py Add required blank line after import statement to satisfy ruff format check. This fixes the CI failure that was causing the badge to show "no status". Co-Authored-By: Claude Opus 4.5 --- openadapt/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openadapt/config.py b/openadapt/config.py index 92c59cef3..3580e8f28 100644 --- a/openadapt/config.py +++ b/openadapt/config.py @@ -166,6 +166,7 @@ def get_device(self) -> str: try: import torch + if torch.cuda.is_available(): return "cuda" elif hasattr(torch.backends, "mps") and torch.backends.mps.is_available():