make flake8 pass by some rewording

This commit is contained in:
Teemu Rytilahti 2017-09-16 18:57:42 +02:00
parent 1457c4f533
commit 281f236221
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class SmartBulb(SmartDevice):
""" """
Returns the current HSV state of the bulb, if supported Returns the current HSV state of the bulb, if supported
:return: tuple containing current hue, saturation and value (degrees, %, %)) :return: hue, saturation and value (degrees, %, %)
:rtype: tuple :rtype: tuple
""" """

View File

@ -145,7 +145,7 @@ class SmartDevice(object):
""" """
warnings.simplefilter('always', DeprecationWarning) warnings.simplefilter('always', DeprecationWarning)
warnings.warn( warnings.warn(
"please use alias and model properties directly instead of idenfity()", "use alias and model instead of idenfity()",
DeprecationWarning DeprecationWarning
) )
warnings.simplefilter('default', DeprecationWarning) warnings.simplefilter('default', DeprecationWarning)