Extend lint test to test/ directory (#13247)

This commit is contained in:
Kangyan-Zhou
2025-11-14 00:01:48 -08:00
committed by GitHub
parent 7b79cc4fe2
commit 49141df94a
95 changed files with 27 additions and 207 deletions
-1
View File
@@ -18,7 +18,6 @@ import random
import unittest
from typing import List
import torch
from utils import (
ALL_OTHER_MULTI_LORA_MODELS,
CI_MULTI_LORA_MODELS,
+1 -1
View File
@@ -6,7 +6,7 @@ that enables OpenAI-compatible LoRA adapter selection.
"""
import unittest
from unittest.mock import MagicMock, Mock
from unittest.mock import MagicMock
from sglang.srt.entrypoints.openai.serving_base import OpenAIServingBase
from sglang.srt.server_args import ServerArgs
+1 -3
View File
@@ -13,13 +13,11 @@
# ==============================================================================
import multiprocessing as mp
import random
import unittest
import torch
from utils import CI_MULTI_LORA_MODELS, DEFAULT_PROMPTS, run_lora_test_one_by_one
from utils import CI_MULTI_LORA_MODELS, run_lora_test_one_by_one
from sglang.test.runners import HFRunner, SRTRunner
from sglang.test.test_utils import CustomTestCase
PROMPTS = [
+1 -1
View File
@@ -14,7 +14,7 @@
import dataclasses
import random
from typing import List, Optional
from typing import List
import torch