diff --git a/homeassistant/components/mealie/__init__.py b/homeassistant/components/mealie/__init__.py index df9faf6e540..5c9c91729c0 100644 --- a/homeassistant/components/mealie/__init__.py +++ b/homeassistant/components/mealie/__init__.py @@ -57,7 +57,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: MealieConfigEntry) -> bo if not version.valid: LOGGER.warning( - "It seems like you are using the nightly version of Mealie, nightly versions could have changes that stop this integration working" + "It seems like you are using the nightly version of Mealie, nightly" + " versions could have changes that stop this integration working" ) if version.valid and version < MIN_REQUIRED_MEALIE_VERSION: raise ConfigEntryError( diff --git a/tests/components/mealie/test_init.py b/tests/components/mealie/test_init.py index 5c25af5a0a0..a45a67801df 100644 --- a/tests/components/mealie/test_init.py +++ b/tests/components/mealie/test_init.py @@ -98,8 +98,8 @@ async def test_setup_invalid( await setup_integration(hass, mock_config_entry) assert ( - "It seems like you are using the nightly version of Mealie, nightly versions could have changes that stop this integration working" - in caplog.text + "It seems like you are using the nightly version of Mealie, nightly" + " versions could have changes that stop this integration working" in caplog.text ) assert mock_config_entry.state is ConfigEntryState.LOADED