Skip to content

Commit 800a0cb

Browse files
committed
chore(pathfinder): address pre-commit follow-ups
Apply ruff-preferred import ordering in pathfinder exports and rename an unused test lambda argument so repository-wide pre-commit checks pass cleanly. Made-with: Cursor
1 parent 739e843 commit 800a0cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cuda_pathfinder/cuda/pathfinder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
from cuda.pathfinder._headers.find_nvidia_headers import (
2525
locate_nvidia_header_directory as locate_nvidia_header_directory,
2626
)
27-
from cuda.pathfinder._optional_cuda_import import optional_cuda_import as optional_cuda_import
2827
from cuda.pathfinder._headers.supported_nvidia_headers import SUPPORTED_HEADERS_CTK as _SUPPORTED_HEADERS_CTK
28+
from cuda.pathfinder._optional_cuda_import import optional_cuda_import as optional_cuda_import
2929
from cuda.pathfinder._static_libs.find_bitcode_lib import (
3030
SUPPORTED_BITCODE_LIBS as _SUPPORTED_BITCODE_LIBS,
3131
)

cuda_pathfinder/tests/test_optional_cuda_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def test_optional_cuda_import_returns_module_when_available(monkeypatch):
1313
fake_module = types.SimpleNamespace(__name__="cuda.bindings.nvvm")
14-
monkeypatch.setattr(optional_import_mod.importlib, "import_module", lambda name: fake_module)
14+
monkeypatch.setattr(optional_import_mod.importlib, "import_module", lambda _name: fake_module)
1515

1616
result = optional_cuda_import("cuda.bindings.nvvm")
1717

0 commit comments

Comments
 (0)