Skip to content

fix some warnings

fix some warnings #284

Triggered via push April 25, 2024 19:39
Status Failure
Total duration 1m 10s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 31 warnings
build (3.10): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.10): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.10): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.10): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L10
E402 module level import not at top of file
build (3.10): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.10): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.10): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.11)
The job was canceled because "_3_10" failed.
build (3.11): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.11): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.11): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.11): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L10
E402 module level import not at top of file
build (3.11): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.11): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.11): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.12)
The job was canceled because "_3_10" failed.
build (3.12): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.12): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.12): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.12): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L10
E402 module level import not at top of file
build (3.12): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.12): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.12): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.9)
The job was canceled because "_3_10" failed.
build (3.9)
The operation was canceled.
build (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: rbialon/flake8-annotations@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (3.10): components/bluetooth-sink-switch/bt-sink-switch.py#L50
C901 'bt_switch' is too complex (14)
build (3.10): components/bluetooth-sink-switch/bt-sink-switch.py#L146
W605 invalid escape sequence '\s'
build (3.10): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L14
C901 'TryExcept 14' is too complex (13)
build (3.10): components/gpio_control/config_compatibility.py#L2
F401 'configparser' imported but unused
build (3.10): components/gpio_control/config_compatibility.py#L7
C901 'Ini_CheckAndUpgrade' is too complex (18)
build (3.10): components/smart-home-automation/MQTT-protocol/daemon_mqtt_client.py#L9
F403 'from threading import *' used; unable to detect undefined names
build (3.11): components/bluetooth-sink-switch/bt-sink-switch.py#L50
C901 'bt_switch' is too complex (14)
build (3.11): components/bluetooth-sink-switch/bt-sink-switch.py#L146
W605 invalid escape sequence '\s'
build (3.11): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L14
C901 'TryExcept 14' is too complex (13)
build (3.11): components/gpio_control/config_compatibility.py#L2
F401 'configparser' imported but unused
build (3.11): components/gpio_control/config_compatibility.py#L7
C901 'Ini_CheckAndUpgrade' is too complex (18)
build (3.11): components/smart-home-automation/MQTT-protocol/daemon_mqtt_client.py#L9
F403 'from threading import *' used; unable to detect undefined names
build (3.12): components/bluetooth-sink-switch/bt-sink-switch.py#L50
C901 'bt_switch' is too complex (14)
build (3.12): components/bluetooth-sink-switch/bt-sink-switch.py#L146
W605 invalid escape sequence '\s'
build (3.12): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L14
C901 'TryExcept 14' is too complex (13)
build (3.12): components/gpio_control/config_compatibility.py#L2
F401 'configparser' imported but unused
build (3.12): components/gpio_control/config_compatibility.py#L7
C901 'Ini_CheckAndUpgrade' is too complex (18)
build (3.12): components/smart-home-automation/MQTT-protocol/daemon_mqtt_client.py#L9
F403 'from threading import *' used; unable to detect undefined names