Skip to content

fix imports

fix imports #148

Triggered via push December 27, 2023 16:20
Status Success
Total duration 1m 8s
Artifacts

code_quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 warnings and 100 notices
Incorrect type: script.service.hue/resources/lib/hue.py#L144
Type 'int' doesn't have expected attribute '__getitem__'
Unbound local variables: script.service.hue/resources/lib/hue.py#L284
Local variable 'response' might be referenced before assignment
Unbound local variables: script.service.hue/resources/lib/hue.py#L298
Local variable 'software_version' might be referenced before assignment
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L42
Instance attribute daylight_disable defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L53
Instance attribute resume_state defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L51
Instance attribute music_video_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L61
Instance attribute play_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L62
Instance attribute play_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L49
Instance attribute min_bri defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L46
Instance attribute schedule_end defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L45
Instance attribute schedule_start defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L50
Instance attribute episode_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L71
Instance attribute stop_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L70
Instance attribute stop_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L48
Instance attribute minimum_duration defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L67
Instance attribute pause_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L69
Instance attribute stop_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L65
Instance attribute pause_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L52
Instance attribute pvr_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L63
Instance attribute play_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L54
Instance attribute resume_transition defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L51
Instance attribute saturation defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L52
Instance attribute capture_size_x defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/hue.py#L159
Instance attribute key defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L57
Instance attribute ambi_lights defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/hue.py#L50
Instance attribute ip defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/hue.py#L51
Instance attribute key defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L40
Instance attribute enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L55
Instance attribute keep_lights_off defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L48
Instance attribute transition_time defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L50
Instance attribute max_bri defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/ambigroup.py#L70
Instance attribute update_interval defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L66
Instance attribute pause_scene defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L54
Instance attribute enable_if_already_active defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L44
Instance attribute schedule_enabled defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L49
Instance attribute movie_setting defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/hue.py#L183
Instance attribute ip defined outside __init__
An instance attribute is defined outside `__init__`: script.service.hue/resources/lib/lightgroup.py#L53
Instance attribute other_setting defined outside __init__
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L63
PEP 8: E501 line too long (250 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L294
PEP 8: E501 line too long (123 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L84
PEP 8: E501 line too long (132 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/reporting.py#L21
PEP 8: E501 line too long (152 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L109
PEP 8: E501 line too long (125 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L74
PEP 8: E301 expected 1 blank line, found 0
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L308
PEP 8: E501 line too long (121 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L139
PEP 8: E501 line too long (172 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L98
PEP 8: E501 line too long (126 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L214
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L87
PEP 8: E501 line too long (123 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L192
PEP 8: E501 line too long (177 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L265
PEP 8: E501 line too long (132 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L232
PEP 8: E501 line too long (123 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L222
PEP 8: E501 line too long (131 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L85
PEP 8: E501 line too long (132 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L224
PEP 8: E501 line too long (365 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/__init__.py#L16
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L65
PEP 8: E501 line too long (131 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L207
PEP 8: E501 line too long (148 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L76
PEP 8: E501 line too long (196 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L64
PEP 8: E501 line too long (130 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L297
PEP 8: E501 line too long (125 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L63
PEP 8: E501 line too long (132 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L209
PEP 8: E501 line too long (123 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L123
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L313
PEP 8: E501 line too long (135 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L111
PEP 8: E501 line too long (167 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L266
PEP 8: E501 line too long (122 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L81
PEP 8: E501 line too long (165 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/core.py#L140
PEP 8: E501 line too long (121 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L94
PEP 8: E501 line too long (145 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L150
PEP 8: E501 line too long (129 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L58
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L77
PEP 8: E501 line too long (197 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L104
PEP 8: E501 line too long (124 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L252
PEP 8: E501 line too long (130 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L91
PEP 8: E501 line too long (130 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L263
PEP 8: E501 line too long (128 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L180
PEP 8: E501 line too long (241 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/core.py#L155
PEP 8: E501 line too long (150 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L112
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L252
PEP 8: E265 block comment should start with '# '
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L298
PEP 8: E501 line too long (129 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L244
PEP 8: E501 line too long (125 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L82
PEP 8: E501 line too long (202 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/core.py#L250
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L116
PEP 8: E501 line too long (134 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L264
PEP 8: E501 line too long (135 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/menu.py#L62
PEP 8: E501 line too long (130 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L225
PEP 8: E501 line too long (169 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L158
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L48
PEP 8: E501 line too long (135 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L122
PEP 8: E501 line too long (122 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L163
PEP 8: E501 line too long (175 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L73
PEP 8: E501 line too long (201 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/core.py#L250
PEP 8: E501 line too long (128 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L154
PEP 8: E501 line too long (124 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L245
PEP 8: E265 block comment should start with '# '
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L155
PEP 8: E501 line too long (127 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L73
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: script.service.hue/resources/lib/hue.py#L112
PEP 8: E501 line too long (130 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/ambigroup.py#L213
PEP 8: E501 line too long (197 \> 120 characters)
PEP 8 coding style violation: script.service.hue/resources/lib/lightgroup.py#L99
PEP 8: E501 line too long (166 \> 120 characters)
Unused local symbols: script.service.hue/resources/lib/hue.py#L257
Local variable 'progress' value is not used