[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings (#57212)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1085b64425
commit
651a88c09a
@@ -40,8 +40,7 @@ def test_extract_archs_prefers_sass_target_over_corrupted_virtual_arch(
|
||||
):
|
||||
"""Torch's autodetection can emit a bogus arch=compute_* half (e.g.
|
||||
capability 12.1 corrupted to arch=compute_20,code=sm_121); the SASS
|
||||
target must win, while PTX-only entries keep the virtual arch.
|
||||
"""
|
||||
target must win, while PTX-only entries keep the virtual arch."""
|
||||
repo_root = Path(__file__).parents[1]
|
||||
script = tmp_path / "test_extract_archs.cmake"
|
||||
script.write_text(
|
||||
|
||||
Reference in New Issue
Block a user