1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
J. Nick Koston
2021-03-19 09:26:36 -05:00
committed by GitHub
parent 3742f175ad
commit c820dd4cb5
107 changed files with 243 additions and 157 deletions

View File

@@ -2159,7 +2159,7 @@ async def test_deprecated_value_template_for_position_topic_warning(
await hass.async_block_till_done()
assert (
"using 'value_template' for 'position_topic' is deprecated "
"Using 'value_template' for 'position_topic' is deprecated "
"and will be removed from Home Assistant in version 2021.6, "
"please replace it with 'position_template'"
) in caplog.text