[mypy] Enable type checking for test directory (#5017)
This commit is contained in:
@@ -4,6 +4,7 @@ Run `pytest tests/quantization/test_configs.py --forked`.
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Tuple
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -51,7 +52,7 @@ MODEL_ARG_EXPTYPES = [
|
||||
|
||||
|
||||
@pytest.mark.parametrize("model_arg_exptype", MODEL_ARG_EXPTYPES)
|
||||
def test_auto_gptq(model_arg_exptype: str) -> None:
|
||||
def test_auto_gptq(model_arg_exptype: Tuple[str, None, str]) -> None:
|
||||
model_path, quantization_arg, expected_type = model_arg_exptype
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user