Skip to content

Commit aaa8436

Browse files
MarkDaoustcopybara-github
authored andcommitted
chore: Format mypy settings
FUTURE_COPYBARA_INTEGRATE_REVIEW=#1727 from googleapis:release-please--branches--main a129caf PiperOrigin-RevId: 835385775
1 parent 4b5720a commit aaa8436

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pyproject.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,19 @@ Homepage = "https://github.com/googleapis/python-genai"
4747
[tool.setuptools.package-data]
4848
"google.genai" = ["py.typed"]
4949

50+
[tool.pytest.ini_options]
51+
asyncio_mode = "auto"
52+
asyncio_default_fixture_loop_scope = "function"
53+
5054
[tool.mypy]
5155
exclude = ["tests/", "_test_api_client\\.py"]
5256
plugins = ["pydantic.mypy"]
5357
# we are ignoring 'unused-ignore' because we run mypy on Python 3.9 - 3.13 and
5458
# some errors in _automatic_function_calling_util.py only apply in 3.10+
5559
# 'import-not-found' and 'import-untyped' are environment specific
56-
disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"]
60+
disable_error_code = [
61+
"import-not-found",
62+
"import-untyped",
63+
"unused-ignore",
64+
]
5765
strict = true
58-
59-
[tool.pytest.ini_options]
60-
asyncio_mode = "auto"
61-
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)