Skip to content

Commit

Permalink
Update mypy-dev to 1.12.0a1 (#121428)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Jul 7, 2024
1 parent dc5ae9e commit 37ffe09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/tasmota/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ async def async_device_discovered(payload: dict, mac: str) -> None:

if not payload:
return
assert isinstance(command_topic, str)

# Warn and add issues if there are duplicated topics
if warn_if_topic_duplicated(hass, command_topic, mac, tasmota_device_config):
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ astroid==3.2.2
coverage==7.5.3
freezegun==1.5.0
mock-open==1.4.0
mypy-dev==1.11.0a9
mypy-dev==1.12.0a1
pre-commit==3.7.1
pydantic==1.10.17
pylint==3.2.4
Expand Down
2 changes: 1 addition & 1 deletion script/hassfest/mypy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"plugins": "pydantic.mypy",
"show_error_codes": "true",
"follow_imports": "normal",
"enable_incomplete_feature": ",".join( # noqa: FLY002
"enable_incomplete_feature": ", ".join( # noqa: FLY002
[
"NewGenericSyntax",
]
Expand Down

0 comments on commit 37ffe09

Please sign in to comment.