Fix PEP257 issues
This commit is contained in:
1 parent
cf7c2c492a
commit
652f059d6a
19 files changed
+86
-131
No files matched your search
@@ -45,7 +45,7 @@ def send_message(hass, message, title=None):
|
||||
|
||||
|
||||
def setup(hass, config):
|
||||
"""Sets up notify services."""
|
||||
"""Setup the notify services."""
|
||||
success = False
|
||||
|
||||
descriptions = load_yaml_config_file(
|
||||
@@ -91,11 +91,11 @@ def setup(hass, config):
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class BaseNotificationService(object):
|
||||
"""Provides an ABC for notification services."""
|
||||
"""An abstract class for notification services."""
|
||||
|
||||
def send_message(self, message, **kwargs):
|
||||
"""
|
||||
Send a message.
|
||||
"""Send a message.
|
||||
|
||||
kwargs can contain ATTR_TITLE to specify a title.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user