File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
homeassistant/components/image Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ async def _write_frame() -> bool:
348348 # While this results in additional bandwidth usage,
349349 # given the low frequency of image updates, it is acceptable.
350350 frame .extend (frame )
351- await response .write (frame )
351+ await response .write (frame ) # type: ignore[arg-type]
352352 return True
353353
354354 event = asyncio .Event ()
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ show_error_codes = true
1010follow_imports = normal
1111local_partial_types = true
1212strict_equality = true
13+ strict_bytes = true
1314no_implicit_optional = true
1415warn_incomplete_stub = true
1516warn_redundant_casts = true
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ coverage==7.6.8
1212freezegun==1.5.1
1313license-expression==30.4.0
1414mock-open==1.4.0
15- mypy-dev==1.14.0a6
15+ mypy-dev==1.14.0a7
1616pre-commit==4.0.0
1717pydantic==2.10.3
1818pylint==3.3.2
Original file line number Diff line number Diff line change 4747 # Enable some checks globally.
4848 "local_partial_types" : "true" ,
4949 "strict_equality" : "true" ,
50+ "strict_bytes" : "true" ,
5051 "no_implicit_optional" : "true" ,
5152 "warn_incomplete_stub" : "true" ,
5253 "warn_redundant_casts" : "true" ,
You can’t perform that action at this time.
0 commit comments