[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:
Harry Mellor
2026-09-16 10:57:24 -07:00
committed by GitHub
co-authored by Claude Opus 5
parent 1085b64425
commit 651a88c09a
693 changed files with 2088 additions and 4171 deletions
+1 -2
View File
@@ -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(