Skip to content

fix flake8 warning #295

fix flake8 warning

fix flake8 warning #295

Triggered via push May 12, 2024 13:40
Status Failure
Total duration 39s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 6 warnings
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.11): scripts/Reader.py#L48
E722 do not use bare 'except'
build (3.11): scripts/Reader.py.Multi#L52
E722 do not use bare 'except'
build (3.11): scripts/Reader.py.kkmoonRFIDreader#L47
E722 do not use bare 'except'
build (3.11): scripts/Reader.py.original#L54
E722 do not use bare 'except'
build (3.11): scripts/RegisterDevice.py.Multi#L54
E402 module level import not at top of file
build (3.11)
Process completed with exit code 1.
build (3.12)
The job was canceled because "_3_11" failed.
build (3.12)
The operation was canceled.
build (3.9)
The job was canceled because "_3_11" failed.
build (3.9)
The operation was canceled.
build (3.10)
The job was canceled because "_3_11" failed.
build (3.10)
The operation was canceled.
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): scripts/Reader.py.experimental.Multi#L161
F841 local variable 'pn532' is assigned to but never used
build (3.11): scripts/Reader.py.experimental.Multi#L161
F821 undefined name 'Pn532_i2c'
build (3.11): scripts/Reader.py.experimental.Multi#L162
F821 undefined name 'Mifare'
build (3.11): scripts/Reader.py.experimental.Multi#L164
F821 undefined name 'MIFARE_WAIT_FOR_ENTRY'
build (3.11): scripts/daemon_rfid_reader.py#L72
F841 local variable 'e' is assigned to but never used