[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
+2 -4
View File
@@ -120,8 +120,7 @@ def test_max_iterations(default_profiler_config):
def test_restart_after_max_iterations(default_profiler_config):
"""A start_profile after an auto-stop must actually restart, not be
silently ignored (regression test: auto-stop used to leave _active
True forever, so start() always bailed out early).
"""
True forever, so start() always bailed out early)."""
default_profiler_config.max_iterations = 2
profiler = ConcreteWorkerProfiler(default_profiler_config)
@@ -332,8 +331,7 @@ class TestAnnotateProfile:
def test_profiler_entered_during_capture():
"""Profiler is used as a context manager in _warmup_and_capture,
confirming it is active during the actual graph capture run.
"""
confirming it is active during the actual graph capture run."""
runner = MagicMock()
runner.compilation_config.cudagraph_num_of_warmups = 0
mock_profiler = MagicMock()