Skip to content

Commit 08053fb

Browse files
committed
ignore unsused import in setup.py, which was causing build errors
1 parent ff05649 commit 08053fb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

cuda_bindings/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ ignore = [
9090
]
9191

9292
[tool.ruff.lint.per-file-ignores]
93+
"setup.py" = ["F401"]
9394
"__init__.py" = ["F401"]
9495

9596
"examples/**/*" = [

cuda_bindings/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import contextlib
1111
import glob
1212
import os
13+
import platform
1314
import shutil
1415
import sys
1516
import sysconfig

cuda_core/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ ignore = [
9090

9191
[tool.ruff.lint.per-file-ignores]
9292
"__init__.py" = ["F401"]
93+
"setup.py" = ["F401"]

0 commit comments

Comments
 (0)