Update mypy-dev to 1.14.0a7 (#133390)

This commit is contained in:
Marc Mueller
2024-12-17 07:34:59 +01:00
committed by GitHub
parent 1512cd5fb7
commit 2d8e693cdb
4 changed files with 4 additions and 2 deletions

View File

@ -348,7 +348,7 @@ async def async_get_still_stream(
# While this results in additional bandwidth usage,
# given the low frequency of image updates, it is acceptable.
frame.extend(frame)
await response.write(frame)
await response.write(frame) # type: ignore[arg-type]
return True
event = asyncio.Event()

View File

@ -10,6 +10,7 @@ show_error_codes = true
follow_imports = normal
local_partial_types = true
strict_equality = true
strict_bytes = true
no_implicit_optional = true
warn_incomplete_stub = true
warn_redundant_casts = true

View File

@ -12,7 +12,7 @@ coverage==7.6.8
freezegun==1.5.1
license-expression==30.4.0
mock-open==1.4.0
mypy-dev==1.14.0a6
mypy-dev==1.14.0a7
pre-commit==4.0.0
pydantic==2.10.3
pylint==3.3.2

View File

@ -47,6 +47,7 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
# Enable some checks globally.
"local_partial_types": "true",
"strict_equality": "true",
"strict_bytes": "true",
"no_implicit_optional": "true",
"warn_incomplete_stub": "true",
"warn_redundant_casts": "true",