community[patch]: upgrade to recent version of mypy (#21616)

This PR upgrades community to a recent version of mypy. It inserts type:
ignore on all existing failures.
This commit is contained in:
Eugene Yurtsev
2024-05-13 14:55:07 -04:00
committed by GitHub
parent b923951062
commit 25fbe356b4
243 changed files with 718 additions and 710 deletions

View File

@@ -9,7 +9,7 @@ os.environ["MOONSHOT_API_KEY"] = "key"
@pytest.mark.requires("openai")
def test_moonshot_model_param() -> None:
llm = Moonshot(model="foo")
llm = Moonshot(model="foo") # type: ignore[call-arg]
assert llm.model_name == "foo"
llm = Moonshot(model_name="bar")
llm = Moonshot(model_name="bar") # type: ignore[call-arg]
assert llm.model_name == "bar"