[lint] Enable Ruff UP037 to drop redundant quoted annotations (#27984)

This commit is contained in:
Cheng Wan
2026-06-11 17:38:05 -07:00
committed by GitHub
parent c0480a88be
commit 97a0031799
185 changed files with 541 additions and 551 deletions
@@ -43,7 +43,7 @@ class _DummyHarness(CanaryE2EBase):
class TestAssertSwaDivergenceObserved(CustomTestCase):
def _make_harness(
self, log_text_or_sequence
) -> tuple[_DummyHarness, "patch._patch[None]"]:
) -> tuple[_DummyHarness, patch._patch[None]]:
harness = _DummyHarness()
harness._stderr_buf = None
harness._stdout_buf = None
@@ -36,8 +36,8 @@ class CustomizedInfoSampler(Sampler):
def forward(
self,
logits_output: "LogitsProcessorOutput",
sampling_info: "SamplingBatchInfo",
logits_output: LogitsProcessorOutput,
sampling_info: SamplingBatchInfo,
return_logprob: bool,
top_logprobs_nums: List[int],
token_ids_logprobs: List[List[int]],