Skip to content

fix some flake warnings #283

fix some flake warnings

fix some flake warnings #283

Triggered via push April 18, 2024 21:38
Status Failure
Total duration 38s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

43 errors and 41 warnings
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.10)
The job was canceled because "_3_11" failed.
build (3.11): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L33
E501 line too long (136 > 127 characters)
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.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/buttons_usb_encoder.py#L33
E501 line too long (136 > 127 characters)
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.12)
The job was canceled because "_3_11" 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/buttons_usb_encoder.py#L33
E501 line too long (136 > 127 characters)
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.9)
The job was canceled because "_3_11" failed.
build (3.9): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.9): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.9): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L9
E402 module level import not at top of file
build (3.9): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L10
E402 module level import not at top of file
build (3.9): components/controls/buttons_usb_encoder/buttons_usb_encoder.py#L33
E501 line too long (136 > 127 characters)
build (3.9): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L7
E402 module level import not at top of file
build (3.9): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L8
E402 module level import not at top of file
build (3.11)
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.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.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.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.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.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
build (3.9): components/bluetooth-sink-switch/bt-sink-switch.py#L50
C901 'bt_switch' is too complex (14)
build (3.9): components/bluetooth-sink-switch/bt-sink-switch.py#L146
W605 invalid escape sequence '\s'
build (3.9): components/controls/buttons_usb_encoder/map_buttons_usb_encoder.py#L14
C901 'TryExcept 14' is too complex (13)
build (3.9): components/gpio_control/config_compatibility.py#L2
F401 'configparser' imported but unused
build (3.9): components/gpio_control/config_compatibility.py#L7
C901 'Ini_CheckAndUpgrade' is too complex (18)
build (3.9): components/smart-home-automation/MQTT-protocol/daemon_mqtt_client.py#L9
F403 'from threading import *' used; unable to detect undefined names