Skip to content

some ruff fixes

some ruff fixes #232

Triggered via push March 18, 2025 09:55
Status Failure
Total duration 33s
Artifacts

ci.yml

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

Annotations

31 errors
build (ubuntu-latest, 3.11)
Process completed with exit code 1.
build (ubuntu-latest, 3.11): src/spacepackets/ecss/fields.py#L124
src/spacepackets/ecss/fields.py:124:21: RUF046 Value being cast to `int` is already an integer
build (ubuntu-latest, 3.11): src/spacepackets/cfdp/tlv/holder.py#L36
src/spacepackets/cfdp/tlv/holder.py:36:21: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.11): src/spacepackets/cfdp/pdu/helper.py#L99
src/spacepackets/cfdp/pdu/helper.py:99:25: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.11): src/spacepackets/cfdp/pdu/helper.py#L77
src/spacepackets/cfdp/pdu/helper.py:77:31: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.9)
Process completed with exit code 1.
build (ubuntu-latest, 3.9): src/spacepackets/ecss/fields.py#L124
src/spacepackets/ecss/fields.py:124:21: RUF046 Value being cast to `int` is already an integer
build (ubuntu-latest, 3.9): src/spacepackets/cfdp/tlv/holder.py#L36
src/spacepackets/cfdp/tlv/holder.py:36:21: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.9): src/spacepackets/cfdp/pdu/helper.py#L99
src/spacepackets/cfdp/pdu/helper.py:99:25: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.9): src/spacepackets/cfdp/pdu/helper.py#L77
src/spacepackets/cfdp/pdu/helper.py:77:31: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.9)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed
build (ubuntu-latest, 3.12)
Process completed with exit code 1.
build (ubuntu-latest, 3.12): src/spacepackets/ecss/fields.py#L124
src/spacepackets/ecss/fields.py:124:21: RUF046 Value being cast to `int` is already an integer
build (ubuntu-latest, 3.12): src/spacepackets/cfdp/tlv/holder.py#L36
src/spacepackets/cfdp/tlv/holder.py:36:21: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.12): src/spacepackets/cfdp/pdu/helper.py#L99
src/spacepackets/cfdp/pdu/helper.py:99:25: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.12): src/spacepackets/cfdp/pdu/helper.py#L77
src/spacepackets/cfdp/pdu/helper.py:77:31: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.12)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed
build (ubuntu-latest, 3.10)
The operation was canceled.
build (ubuntu-latest, 3.10): src/spacepackets/ecss/fields.py#L124
src/spacepackets/ecss/fields.py:124:21: RUF046 Value being cast to `int` is already an integer
build (ubuntu-latest, 3.10): src/spacepackets/cfdp/tlv/holder.py#L36
src/spacepackets/cfdp/tlv/holder.py:36:21: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.10): src/spacepackets/cfdp/pdu/helper.py#L99
src/spacepackets/cfdp/pdu/helper.py:99:25: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.10): src/spacepackets/cfdp/pdu/helper.py#L77
src/spacepackets/cfdp/pdu/helper.py:77:31: TC006 Add quotes to type expression in `typing.cast()`
build (ubuntu-latest, 3.10)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed
build (windows-latest, 3.11)
The operation was canceled.
build (windows-latest, 3.11)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed
build (windows-latest, 3.12)
The operation was canceled.
build (windows-latest, 3.12)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed
build (windows-latest, 3.10)
The operation was canceled.
build (windows-latest, 3.10)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed
build (windows-latest, 3.9)
The operation was canceled.
build (windows-latest, 3.9)
The strategy configuration was canceled because "build.ubuntu-latest_3_11" failed