mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
Update mypy-dev to 1.14.0a7 (#133390)
This commit is contained in:
@ -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()
|
||||
|
1
mypy.ini
1
mypy.ini
@ -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
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user