LINT fixes

This commit is contained in:
Fabio Manganiello 2022-02-07 15:51:12 +01:00
parent 786286eac6
commit 1038090ffd
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
3 changed files with 3 additions and 4 deletions

View File

@ -216,7 +216,7 @@ class Backend(Thread, EventGenerator, ExtensionWithManifest):
raise KeyError() raise KeyError()
except KeyError: except KeyError:
self.logger.warning(( self.logger.warning((
"Backend {} does not implement send_message " + "Backend {} does not implement send_message "
"and the fallback Redis backend isn't configured" "and the fallback Redis backend isn't configured"
).format(self.__class__.__name__)) ).format(self.__class__.__name__))
return return

View File

@ -1,7 +1,6 @@
import copy import copy
import hashlib import hashlib
import json import json
import random
import re import re
import time import time
import uuid import uuid

View File

@ -205,7 +205,7 @@ setup(
# Support for Z-Wave # Support for Z-Wave
'zwave': ['python-openzwave'], 'zwave': ['python-openzwave'],
# Support for Mozilla DeepSpeech speech-to-text engine # Support for Mozilla DeepSpeech speech-to-text engine
'deepspeech': ['deepspeech', 'numpy','sounddevice'], 'deepspeech': ['deepspeech', 'numpy', 'sounddevice'],
# Support for PicoVoice hotword detection engine # Support for PicoVoice hotword detection engine
'picovoice-hotword': ['pvporcupine'], 'picovoice-hotword': ['pvporcupine'],
# Support for PicoVoice speech-to-text engine # Support for PicoVoice speech-to-text engine
@ -215,7 +215,7 @@ setup(
# Support for Linode integration # Support for Linode integration
'linode': ['linode_api4'], 'linode': ['linode_api4'],
# Support for QR codes # Support for QR codes
'qrcode': ['numpy','qrcode[pil]', 'Pillow', 'pyzbar'], 'qrcode': ['numpy', 'qrcode[pil]', 'Pillow', 'pyzbar'],
# Support for Tensorflow # Support for Tensorflow
'tensorflow': ['numpy', 'tensorflow>=2.0', 'keras', 'pandas'], 'tensorflow': ['numpy', 'tensorflow>=2.0', 'keras', 'pandas'],
# Support for Samsung TizenOS-based smart TVs # Support for Samsung TizenOS-based smart TVs