/ BrainCraft_Google_Assistant / .circuitpython.skip
.circuitpython.skip
 1  BrainCraft_Google_Assistant/gv_buttontotalk.py 29: Import "import click" should be placed at the top of the module (wrong-import-position)
 2  BrainCraft_Google_Assistant/gv_buttontotalk.py 30: Import "import grpc" should be placed at the top of the module (wrong-import-position)
 3  BrainCraft_Google_Assistant/gv_buttontotalk.py 31: Import "import google.auth.transport.grpc" should be placed at the top of the module (wrong-import-position)
 4  BrainCraft_Google_Assistant/gv_buttontotalk.py 32: Import "import google.auth.transport.requests" should be placed at the top of the module (wrong-import-position)
 5  BrainCraft_Google_Assistant/gv_buttontotalk.py 33: Import "import google.oauth2.credentials" should be placed at the top of the module (wrong-import-position)
 6  BrainCraft_Google_Assistant/gv_buttontotalk.py 35: Import "from google.assistant.embedded.v1alpha2 import embedded_assistant_pb2, embedded_assistant_pb2_grpc" should be placed at the top of the module (wrong-import-position)
 7  BrainCraft_Google_Assistant/gv_buttontotalk.py 39: Import "from tenacity import retry, stop_after_attempt, retry_if_exception" should be placed at the top of the module (wrong-import-position)
 8  BrainCraft_Google_Assistant/gv_buttontotalk.py 55: Consider explicitly re-raising using the 'from' keyword (raise-missing-from)
 9  BrainCraft_Google_Assistant/gv_buttontotalk.py 82: Class 'SampleAssistant' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
10  BrainCraft_Google_Assistant/gv_buttontotalk.py 132: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
11  BrainCraft_Google_Assistant/gv_buttontotalk.py 137: Method should have "self" as first argument (no-self-argument)
12  BrainCraft_Google_Assistant/gv_buttontotalk.py 148: Too many branches (13/12) (too-many-branches)
13  BrainCraft_Google_Assistant/gv_buttontotalk.py 351: Too many local variables (39/15) (too-many-locals)
14  BrainCraft_Google_Assistant/gv_buttontotalk.py 426: Catching too general exception Exception (broad-except)
15  BrainCraft_Google_Assistant/gv_buttontotalk.py 484: Catching too general exception Exception (broad-except)
16  BrainCraft_Google_Assistant/gv_buttontotalk.py 485: Use lazy % formatting in logging functions (logging-not-lazy)
17  BrainCraft_Google_Assistant/gv_buttontotalk.py 530: Use lazy % formatting in logging functions (logging-not-lazy)
18  BrainCraft_Google_Assistant/gv_buttontotalk.py 536: Unused variable 'i' (unused-variable)
19  BrainCraft_Google_Assistant/gv_buttontotalk.py 379: Unused argument 'args' (unused-argument)
20  BrainCraft_Google_Assistant/gv_buttontotalk.py 379: Unused argument 'kwargs' (unused-argument)
21  BrainCraft_Google_Assistant/gv_buttontotalk.py 522: Unused variable 'onoff' (unused-variable)
22  BrainCraft_Google_Assistant/gv_buttontotalk.py 529: Unused variable 'blink' (unused-variable)
23  BrainCraft_Google_Assistant/gv_buttontotalk.py 351: Too many branches (15/12) (too-many-branches)
24  BrainCraft_Google_Assistant/gv_buttontotalk.py 351: Too many statements (81/50) (too-many-statements)
25  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'api_endpoint' in function call (no-value-for-parameter)
26  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'credentials' in function call (no-value-for-parameter)
27  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'project_id' in function call (no-value-for-parameter)
28  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'device_model_id' in function call (no-value-for-parameter)
29  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'device_id' in function call (no-value-for-parameter)
30  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'device_config' in function call (no-value-for-parameter)
31  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'lang' in function call (no-value-for-parameter)
32  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'display' in function call (no-value-for-parameter)
33  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'verbose' in function call (no-value-for-parameter)
34  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'input_audio_file' in function call (no-value-for-parameter)
35  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'output_audio_file' in function call (no-value-for-parameter)
36  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'audio_sample_rate' in function call (no-value-for-parameter)
37  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'audio_sample_width' in function call (no-value-for-parameter)
38  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'audio_iter_size' in function call (no-value-for-parameter)
39  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'audio_block_size' in function call (no-value-for-parameter)
40  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'audio_flush_size' in function call (no-value-for-parameter)
41  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'grpc_deadline' in function call (no-value-for-parameter)
42  BrainCraft_Google_Assistant/gv_buttontotalk.py 586: No value for argument 'once' in function call (no-value-for-parameter)
43  BrainCraft_Google_Assistant/gv_buttontotalk.py 23: standard import "import sys" should be placed before "import pathlib2 as pathlib" (wrong-import-order)
44  BrainCraft_Google_Assistant/gv_buttontotalk.py 24: standard import "import time" should be placed before "import pathlib2 as pathlib" (wrong-import-order)
45  BrainCraft_Google_Assistant/gv_buttontotalk.py 25: standard import "import uuid" should be placed before "import pathlib2 as pathlib" (wrong-import-order)