Skip to content

Improve type annotations #372

Improve type annotations

Improve type annotations #372

Triggered via pull request July 5, 2024 20:02
Status Failure
Total duration 51s
Artifacts

lint.yaml

on: pull_request
Ruff Format
29s
Ruff Format
Matrix: Ruff Lint
Fit to window
Zoom out
Zoom in

Annotations

45 errors and 4 warnings
Ruff (F821): src/galois/_codes/_linear.py#L305
src/galois/_codes/_linear.py:305:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_domains/_function.py#L9
src/galois/_domains/_function.py:9:45: F401 `typing.Hashable` imported but unused
Ruff (F821): src/galois/_lfsr.py#L155
src/galois/_lfsr.py:155:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L539
src/galois/_lfsr.py:539:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L1148
src/galois/_lfsr.py:1148:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_polymorphic.py#L9
src/galois/_polymorphic.py:9:17: F401 `numpy` imported but unused
Ruff (F401): src/galois/_polys/_conversions.py#L8
src/galois/_polys/_conversions.py:8:17: F401 `numpy` imported but unused
Ruff Lint (3.11)
Process completed with exit code 1.
Ruff (F821): src/galois/_codes/_linear.py#L305
src/galois/_codes/_linear.py:305:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_domains/_function.py#L9
src/galois/_domains/_function.py:9:45: F401 `typing.Hashable` imported but unused
Ruff (F821): src/galois/_lfsr.py#L155
src/galois/_lfsr.py:155:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L539
src/galois/_lfsr.py:539:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L1148
src/galois/_lfsr.py:1148:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_polymorphic.py#L9
src/galois/_polymorphic.py:9:17: F401 `numpy` imported but unused
Ruff (F401): src/galois/_polys/_conversions.py#L8
src/galois/_polys/_conversions.py:8:17: F401 `numpy` imported but unused
Ruff Lint (3.8)
Process completed with exit code 1.
Ruff (F821): src/galois/_codes/_linear.py#L305
src/galois/_codes/_linear.py:305:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_domains/_function.py#L9
src/galois/_domains/_function.py:9:45: F401 `typing.Hashable` imported but unused
Ruff (F821): src/galois/_lfsr.py#L155
src/galois/_lfsr.py:155:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L539
src/galois/_lfsr.py:539:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L1148
src/galois/_lfsr.py:1148:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_polymorphic.py#L9
src/galois/_polymorphic.py:9:17: F401 `numpy` imported but unused
Ruff (F401): src/galois/_polys/_conversions.py#L8
src/galois/_polys/_conversions.py:8:17: F401 `numpy` imported but unused
Ruff Lint (3.12)
Process completed with exit code 1.
Ruff Lint (3.9)
The job was canceled because "_3_11" failed.
Ruff Lint (3.10)
The job was canceled because "_3_11" failed.
Ruff (F821): src/galois/_codes/_linear.py#L305
src/galois/_codes/_linear.py:305:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_codes/_linear.py#L305
src/galois/_codes/_linear.py:305:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_domains/_function.py#L9
src/galois/_domains/_function.py:9:45: F401 `typing.Hashable` imported but unused
Ruff (F401): src/galois/_domains/_function.py#L9
src/galois/_domains/_function.py:9:45: F401 `typing.Hashable` imported but unused
Ruff (F821): src/galois/_lfsr.py#L155
src/galois/_lfsr.py:155:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L155
src/galois/_lfsr.py:155:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L539
src/galois/_lfsr.py:539:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L539
src/galois/_lfsr.py:539:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L1148
src/galois/_lfsr.py:1148:24: F821 Undefined name `Type`
Ruff (F821): src/galois/_lfsr.py#L1148
src/galois/_lfsr.py:1148:24: F821 Undefined name `Type`
Ruff (F401): src/galois/_polymorphic.py#L9
src/galois/_polymorphic.py:9:17: F401 `numpy` imported but unused
Ruff (F401): src/galois/_polymorphic.py#L9
src/galois/_polymorphic.py:9:17: F401 `numpy` imported but unused
Ruff (F401): src/galois/_polys/_conversions.py#L8
src/galois/_polys/_conversions.py:8:17: F401 `numpy` imported but unused
Ruff (F401): src/galois/_polys/_conversions.py#L8
src/galois/_polys/_conversions.py:8:17: F401 `numpy` imported but unused
Ruff Lint (3.9)
Process completed with exit code 1.
Ruff Lint (3.10)
Process completed with exit code 1.
Ruff Format
Process completed with exit code 1.
Ruff Lint (3.7)
The job was canceled because "_3_11" failed.
Ruff Lint (3.7)
The operation was canceled.
Ruff Lint (3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Ruff Lint (3.8)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Ruff Lint (3.12)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Ruff Format
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/