mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Update mypy-dev to 1.14.0a7 (#133390)
This commit is contained in:
parent
1512cd5fb7
commit
2d8e693cdb
@ -348,7 +348,7 @@ async def async_get_still_stream(
|
|||||||
# While this results in additional bandwidth usage,
|
# While this results in additional bandwidth usage,
|
||||||
# given the low frequency of image updates, it is acceptable.
|
# given the low frequency of image updates, it is acceptable.
|
||||||
frame.extend(frame)
|
frame.extend(frame)
|
||||||
await response.write(frame)
|
await response.write(frame) # type: ignore[arg-type]
|
||||||
return True
|
return True
|
||||||
|
|
||||||
event = asyncio.Event()
|
event = asyncio.Event()
|
||||||
|
1
mypy.ini
1
mypy.ini
@ -10,6 +10,7 @@ show_error_codes = true
|
|||||||
follow_imports = normal
|
follow_imports = normal
|
||||||
local_partial_types = true
|
local_partial_types = true
|
||||||
strict_equality = true
|
strict_equality = true
|
||||||
|
strict_bytes = true
|
||||||
no_implicit_optional = true
|
no_implicit_optional = true
|
||||||
warn_incomplete_stub = true
|
warn_incomplete_stub = true
|
||||||
warn_redundant_casts = true
|
warn_redundant_casts = true
|
||||||
|
@ -12,7 +12,7 @@ coverage==7.6.8
|
|||||||
freezegun==1.5.1
|
freezegun==1.5.1
|
||||||
license-expression==30.4.0
|
license-expression==30.4.0
|
||||||
mock-open==1.4.0
|
mock-open==1.4.0
|
||||||
mypy-dev==1.14.0a6
|
mypy-dev==1.14.0a7
|
||||||
pre-commit==4.0.0
|
pre-commit==4.0.0
|
||||||
pydantic==2.10.3
|
pydantic==2.10.3
|
||||||
pylint==3.3.2
|
pylint==3.3.2
|
||||||
|
@ -47,6 +47,7 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
|
|||||||
# Enable some checks globally.
|
# Enable some checks globally.
|
||||||
"local_partial_types": "true",
|
"local_partial_types": "true",
|
||||||
"strict_equality": "true",
|
"strict_equality": "true",
|
||||||
|
"strict_bytes": "true",
|
||||||
"no_implicit_optional": "true",
|
"no_implicit_optional": "true",
|
||||||
"warn_incomplete_stub": "true",
|
"warn_incomplete_stub": "true",
|
||||||
"warn_redundant_casts": "true",
|
"warn_redundant_casts": "true",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user