Skip to content

Commit d04f07d

Browse files
abrichrclaude
andauthored
fix: Apply ruff formatting to config.py (#969)
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 <noreply@anthropic.com>
1 parent 9c1d02b commit d04f07d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openadapt/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def get_device(self) -> str:
166166

167167
try:
168168
import torch
169+
169170
if torch.cuda.is_available():
170171
return "cuda"
171172
elif hasattr(torch.backends, "mps") and torch.backends.mps.is_available():

0 commit comments

Comments
 (0)