Skip to content

Commit 06387df

Browse files
authored
Merge pull request #502 from chainer-ci/bp-501-v14-copilot/fix-pretest-failure
[backport] Fix pretest CI failure
2 parents d2505e5 + 98023c6 commit 06387df

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎dist.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
WHEEL_LONG_DESCRIPTION_ROCM,
3030
WHEEL_PYTHON_VERSIONS,
3131
WHEEL_WINDOWS_CONFIGS,
32-
) # NOQA
32+
)
3333
from dist_utils import (
3434
get_system_cuda_version,
3535
get_version_from_source_tree,
3636
sdist_name,
3737
wheel_linux_platform_tag,
3838
wheel_name,
39-
) # NOQA
39+
)
4040

4141
if typing.TYPE_CHECKING:
4242
from collections.abc import Collection, Iterable, Iterator, Mapping

‎dist_config.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class _WheelLinuxConfig(TypedDict):
167167
'preloads': [],
168168
'verify_image': 'rocm/dev-ubuntu-24.04:7.0.2',
169169
'verify_systems': ['default'],
170-
'system_packages': 'rocm-hip-sdk hip-runtime-amd roctracer-dev' # NOQA
170+
'system_packages': 'rocm-hip-sdk hip-runtime-amd roctracer-dev'
171171
},
172172
}
173173

‎dist_utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_version_from_source_tree(source_tree: str) -> str:
3636
version_file_path = f'{source_tree}/cupy/_version.py'
3737
exec_locals: dict[str, str] = {}
3838
with open(version_file_path, encoding='UTF-8') as f:
39-
exec(f.read(), None, exec_locals)
39+
exec(f.read(), None, exec_locals) # noqa: S102
4040
return exec_locals['__version__']
4141

4242

‎get_dist_info.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
WHEEL_LINUX_CONFIGS,
99
WHEEL_PYTHON_VERSIONS,
1010
WHEEL_WINDOWS_CONFIGS,
11-
) # NOQA
11+
)
1212
from dist_utils import (
1313
get_version_from_source_tree,
1414
sdist_name,
1515
wheel_linux_platform_tag,
1616
wheel_name,
17-
) # NOQA
17+
)
1818

1919

2020
class _DistInfoArgs(argparse.Namespace):

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ extend-exclude = [".pfnci"]
44

55
[tool.ruff.lint]
66
extend-select = ["I002", "Q"]
7+
extend-ignore = ["N999"] # for "release-tests"
78

89
[tool.ruff.lint.isort]
910
required-imports = ["from __future__ import annotations"]

0 commit comments

Comments
 (0)