chopratejas commited on
Commit
0477185
·
1 Parent(s): e7b8a37

chore: fix ruff lint issues (import sorting, trailing whitespace)

Browse files
headroom/evals/memory/runner_v2.py CHANGED
@@ -15,9 +15,9 @@ from __future__ import annotations
15
  import asyncio
16
  import json
17
  import logging
 
18
  import time
19
  import uuid
20
- import tempfile
21
  from collections.abc import Callable
22
  from dataclasses import dataclass, field
23
  from datetime import datetime
 
15
  import asyncio
16
  import json
17
  import logging
18
+ import tempfile
19
  import time
20
  import uuid
 
21
  from collections.abc import Callable
22
  from dataclasses import dataclass, field
23
  from datetime import datetime
headroom/evals/memory/runner_v3.py CHANGED
@@ -20,9 +20,9 @@ from __future__ import annotations
20
  import asyncio
21
  import json
22
  import logging
 
23
  import time
24
  import uuid
25
- import tempfile
26
  from dataclasses import dataclass, field
27
  from datetime import datetime
28
  from pathlib import Path
 
20
  import asyncio
21
  import json
22
  import logging
23
+ import tempfile
24
  import time
25
  import uuid
 
26
  from dataclasses import dataclass, field
27
  from datetime import datetime
28
  from pathlib import Path
headroom/rtk/installer.py CHANGED
@@ -77,7 +77,7 @@ def download_rtk(version: str | None = None) -> Path:
77
  # Validate URL scheme to prevent B310 warning
78
  if not url.startswith(("http://", "https://")):
79
  raise ValueError(f"Invalid URL scheme in {url}")
80
-
81
  # Try default SSL first, fall back to unverified for macOS framework Python
82
  try:
83
  with urlopen(url, timeout=30) as response:
 
77
  # Validate URL scheme to prevent B310 warning
78
  if not url.startswith(("http://", "https://")):
79
  raise ValueError(f"Invalid URL scheme in {url}")
80
+
81
  # Try default SSL first, fall back to unverified for macOS framework Python
82
  try:
83
  with urlopen(url, timeout=30) as response: