Skip to content

misc design improvements #1

misc design improvements

misc design improvements #1

Triggered via pull request November 21, 2024 23:42
Status Failure
Total duration 23s
Artifacts

python-tests.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

68 errors
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L29
src/pycbsdk/cbhw/device/nsp.py:29:8: F401 `queue` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L32
src/pycbsdk/cbhw/device/nsp.py:32:27: F401 `enum.Flag` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L33
src/pycbsdk/cbhw/device/nsp.py:33:30: F401 `typing.Type` imported but unused
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L247
src/pycbsdk/cbhw/device/nsp.py:247:28: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L1100
src/pycbsdk/cbhw/device/nsp.py:1100:13: F841 Local variable `err` is assigned to but never used
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1126
src/pycbsdk/cbhw/device/nsp.py:1126:28: F541 f-string without any placeholders
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1251
src/pycbsdk/cbhw/device/nsp.py:1251:30: F541 f-string without any placeholders
Ruff (F403): src/pycbsdk/cbhw/packet/abstract.py#L2
src/pycbsdk/cbhw/packet/abstract.py:2:1: F403 `from ctypes import *` used; unable to detect undefined names
Ruff (F401): src/pycbsdk/cbhw/packet/abstract.py#L6
src/pycbsdk/cbhw/packet/abstract.py:6:16: F401 `..config` imported but unused
Ruff (F405): src/pycbsdk/cbhw/packet/abstract.py#L16
src/pycbsdk/cbhw/packet/abstract.py:16:24: F405 `Structure` may be undefined, or defined from star imports
build (3.9, ubuntu-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L29
src/pycbsdk/cbhw/device/nsp.py:29:8: F401 `queue` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L32
src/pycbsdk/cbhw/device/nsp.py:32:27: F401 `enum.Flag` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L33
src/pycbsdk/cbhw/device/nsp.py:33:30: F401 `typing.Type` imported but unused
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L247
src/pycbsdk/cbhw/device/nsp.py:247:28: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L1100
src/pycbsdk/cbhw/device/nsp.py:1100:13: F841 Local variable `err` is assigned to but never used
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1126
src/pycbsdk/cbhw/device/nsp.py:1126:28: F541 f-string without any placeholders
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1251
src/pycbsdk/cbhw/device/nsp.py:1251:30: F541 f-string without any placeholders
Ruff (F403): src/pycbsdk/cbhw/packet/abstract.py#L2
src/pycbsdk/cbhw/packet/abstract.py:2:1: F403 `from ctypes import *` used; unable to detect undefined names
Ruff (F401): src/pycbsdk/cbhw/packet/abstract.py#L6
src/pycbsdk/cbhw/packet/abstract.py:6:16: F401 `..config` imported but unused
Ruff (F405): src/pycbsdk/cbhw/packet/abstract.py#L16
src/pycbsdk/cbhw/packet/abstract.py:16:24: F405 `Structure` may be undefined, or defined from star imports
build (3.11, ubuntu-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L29
src/pycbsdk/cbhw/device/nsp.py:29:8: F401 `queue` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L32
src/pycbsdk/cbhw/device/nsp.py:32:27: F401 `enum.Flag` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L33
src/pycbsdk/cbhw/device/nsp.py:33:30: F401 `typing.Type` imported but unused
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L247
src/pycbsdk/cbhw/device/nsp.py:247:28: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L1100
src/pycbsdk/cbhw/device/nsp.py:1100:13: F841 Local variable `err` is assigned to but never used
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1126
src/pycbsdk/cbhw/device/nsp.py:1126:28: F541 f-string without any placeholders
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1251
src/pycbsdk/cbhw/device/nsp.py:1251:30: F541 f-string without any placeholders
Ruff (F403): src/pycbsdk/cbhw/packet/abstract.py#L2
src/pycbsdk/cbhw/packet/abstract.py:2:1: F403 `from ctypes import *` used; unable to detect undefined names
Ruff (F401): src/pycbsdk/cbhw/packet/abstract.py#L6
src/pycbsdk/cbhw/packet/abstract.py:6:16: F401 `..config` imported but unused
Ruff (F405): src/pycbsdk/cbhw/packet/abstract.py#L16
src/pycbsdk/cbhw/packet/abstract.py:16:24: F405 `Structure` may be undefined, or defined from star imports
build (3.12, windows-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.12, windows-latest)
The operation was canceled.
build (3.10, windows-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.10, windows-latest)
The operation was canceled.
build (3.11, macos-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L29
src/pycbsdk/cbhw/device/nsp.py:29:8: F401 `queue` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L32
src/pycbsdk/cbhw/device/nsp.py:32:27: F401 `enum.Flag` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L33
src/pycbsdk/cbhw/device/nsp.py:33:30: F401 `typing.Type` imported but unused
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L247
src/pycbsdk/cbhw/device/nsp.py:247:28: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L1100
src/pycbsdk/cbhw/device/nsp.py:1100:13: F841 Local variable `err` is assigned to but never used
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1126
src/pycbsdk/cbhw/device/nsp.py:1126:28: F541 f-string without any placeholders
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1251
src/pycbsdk/cbhw/device/nsp.py:1251:30: F541 f-string without any placeholders
Ruff (F403): src/pycbsdk/cbhw/packet/abstract.py#L2
src/pycbsdk/cbhw/packet/abstract.py:2:1: F403 `from ctypes import *` used; unable to detect undefined names
Ruff (F401): src/pycbsdk/cbhw/packet/abstract.py#L6
src/pycbsdk/cbhw/packet/abstract.py:6:16: F401 `..config` imported but unused
Ruff (F405): src/pycbsdk/cbhw/packet/abstract.py#L16
src/pycbsdk/cbhw/packet/abstract.py:16:24: F405 `Structure` may be undefined, or defined from star imports
build (3.11, windows-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.11, windows-latest)
The operation was canceled.
build (3.12, macos-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.12, macos-latest)
The operation was canceled.
build (3.9, macos-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.9, macos-latest)
The operation was canceled.
build (3.10, macos-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.10, macos-latest)
The operation was canceled.
build (3.12, ubuntu-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L29
src/pycbsdk/cbhw/device/nsp.py:29:8: F401 `queue` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L32
src/pycbsdk/cbhw/device/nsp.py:32:27: F401 `enum.Flag` imported but unused
Ruff (F401): src/pycbsdk/cbhw/device/nsp.py#L33
src/pycbsdk/cbhw/device/nsp.py:33:30: F401 `typing.Type` imported but unused
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L247
src/pycbsdk/cbhw/device/nsp.py:247:28: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/pycbsdk/cbhw/device/nsp.py#L1100
src/pycbsdk/cbhw/device/nsp.py:1100:13: F841 Local variable `err` is assigned to but never used
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1126
src/pycbsdk/cbhw/device/nsp.py:1126:28: F541 f-string without any placeholders
Ruff (F541): src/pycbsdk/cbhw/device/nsp.py#L1251
src/pycbsdk/cbhw/device/nsp.py:1251:30: F541 f-string without any placeholders
Ruff (F403): src/pycbsdk/cbhw/packet/abstract.py#L2
src/pycbsdk/cbhw/packet/abstract.py:2:1: F403 `from ctypes import *` used; unable to detect undefined names
Ruff (F401): src/pycbsdk/cbhw/packet/abstract.py#L6
src/pycbsdk/cbhw/packet/abstract.py:6:16: F401 `..config` imported but unused
Ruff (F405): src/pycbsdk/cbhw/packet/abstract.py#L16
src/pycbsdk/cbhw/packet/abstract.py:16:24: F405 `Structure` may be undefined, or defined from star imports
build (3.9, windows-latest)
The job was canceled because "_3_10_ubuntu-latest" failed.
build (3.9, windows-latest)
The operation was canceled.