Skip to content

Commit 1ebe10f

Browse files
rparolinclaude
andcommitted
style: ruff isort grouping and format in build_tests.py
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ee5aff5 commit 1ebe10f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

cuda_bindings/tests/cython/build_tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
import sys
1616
from pathlib import Path
1717

18-
import cuda.bindings
1918
from Cython.Build import cythonize
2019
from setuptools import setup
2120

21+
import cuda.bindings
22+
2223

2324
def _bindings_source_root() -> Path:
2425
# cuda.bindings.__file__ -> .../<root>/cuda/bindings/__init__.py
2526
root = Path(cuda.bindings.__file__).resolve().parents[2]
2627
if not (root / "cuda" / "bindings").is_dir():
2728
raise RuntimeError(
28-
f"cuda.bindings source tree not found at {root}; "
29-
"pixi-build editable install layout may have changed."
29+
f"cuda.bindings source tree not found at {root}; pixi-build editable install layout may have changed."
3030
)
3131
return root
3232

cuda_core/tests/cython/build_tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
import sys
1616
from pathlib import Path
1717

18-
import cuda.bindings
1918
from Cython.Build import cythonize
2019
from setuptools import setup
2120

21+
import cuda.bindings
22+
2223

2324
def _bindings_source_root() -> Path:
2425
# cuda.bindings.__file__ -> .../<root>/cuda/bindings/__init__.py
2526
root = Path(cuda.bindings.__file__).resolve().parents[2]
2627
if not (root / "cuda" / "bindings").is_dir():
2728
raise RuntimeError(
28-
f"cuda.bindings source tree not found at {root}; "
29-
"pixi-build editable install layout may have changed."
29+
f"cuda.bindings source tree not found at {root}; pixi-build editable install layout may have changed."
3030
)
3131
return root
3232

0 commit comments

Comments
 (0)