Move overlapping pylint rules to ruff, disable mypy overlap (#94359)

This commit is contained in:
Franck Nijhof
2023-06-27 17:42:46 +02:00
committed by GitHub
parent 7c676c0a7d
commit 3e85a29b86
88 changed files with 537 additions and 357 deletions

View File

@ -2416,9 +2416,7 @@ async def test_discovery_ignores_extra_keys(
"""Test discovery ignores extra keys that are not blocked."""
await mqtt_mock_entry()
# inserted `platform` key should be ignored
data = (
'{ "name": "Beer",' ' "platform": "mqtt",' ' "command_topic": "test_topic"}'
)
data = '{ "name": "Beer", "platform": "mqtt", "command_topic": "test_topic"}'
async_fire_mqtt_message(hass, "homeassistant/light/bla/config", data)
await hass.async_block_till_done()
state = hass.states.get("light.beer")