Improve type annotations #297
lint.yaml
on: pull_request
Ruff Format
25s
Matrix: Ruff Lint
Annotations
37 errors
Ruff (F401):
src/galois/_codes/_bch.py#L6
src/galois/_codes/_bch.py:6:25: F401 `typing.Type` imported but unused
|
Ruff (UP006):
src/galois/_codes/_bm_decoder.py#L37
src/galois/_codes/_bm_decoder.py:37:31: UP006 Use `type` instead of `Type` for type annotation
|
Ruff (UP006):
src/galois/_codes/_bm_decoder.py#L37
src/galois/_codes/_bm_decoder.py:37:66: UP006 Use `type` instead of `Type` for type annotation
|
Ruff (F401):
src/galois/_codes/_reed_solomon.py#L6
src/galois/_codes/_reed_solomon.py:6:25: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_domains/_function.py#L8
src/galois/_domains/_function.py:8:45: F401 `typing.Hashable` imported but unused
|
Ruff (F401):
src/galois/_domains/_function.py#L8
src/galois/_domains/_function.py:8:55: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_domains/_linalg.py#L7
src/galois/_domains/_linalg.py:7:35: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_fields/_factory.py#L8
src/galois/_fields/_factory.py:8:25: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_fields/_meta.py#L6
src/galois/_fields/_meta.py:6:35: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_polymorphic.py#L8
src/galois/_polymorphic.py:8:17: F401 `numpy` imported but unused
|
Ruff Lint (3.10)
The job was canceled because "_3_7" failed.
|
Ruff (F401):
src/galois/_codes/_bch.py#L6
src/galois/_codes/_bch.py:6:25: F401 `typing.Type` imported but unused
|
Ruff (UP006):
src/galois/_codes/_bm_decoder.py#L37
src/galois/_codes/_bm_decoder.py:37:31: UP006 Use `type` instead of `Type` for type annotation
|
Ruff (UP006):
src/galois/_codes/_bm_decoder.py#L37
src/galois/_codes/_bm_decoder.py:37:66: UP006 Use `type` instead of `Type` for type annotation
|
Ruff (F401):
src/galois/_codes/_reed_solomon.py#L6
src/galois/_codes/_reed_solomon.py:6:25: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_domains/_function.py#L8
src/galois/_domains/_function.py:8:45: F401 `typing.Hashable` imported but unused
|
Ruff (F401):
src/galois/_domains/_function.py#L8
src/galois/_domains/_function.py:8:55: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_domains/_linalg.py#L7
src/galois/_domains/_linalg.py:7:35: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_fields/_factory.py#L8
src/galois/_fields/_factory.py:8:25: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_fields/_meta.py#L6
src/galois/_fields/_meta.py:6:35: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_polymorphic.py#L8
src/galois/_polymorphic.py:8:17: F401 `numpy` imported but unused
|
Ruff Lint (3.8)
The job was canceled because "_3_7" failed.
|
Ruff (F401):
src/galois/_codes/_bch.py#L6
src/galois/_codes/_bch.py:6:25: F401 `typing.Type` imported but unused
|
Ruff (UP006):
src/galois/_codes/_bm_decoder.py#L37
src/galois/_codes/_bm_decoder.py:37:31: UP006 Use `type` instead of `Type` for type annotation
|
Ruff (UP006):
src/galois/_codes/_bm_decoder.py#L37
src/galois/_codes/_bm_decoder.py:37:66: UP006 Use `type` instead of `Type` for type annotation
|
Ruff (F401):
src/galois/_codes/_reed_solomon.py#L6
src/galois/_codes/_reed_solomon.py:6:25: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_domains/_function.py#L8
src/galois/_domains/_function.py:8:45: F401 `typing.Hashable` imported but unused
|
Ruff (F401):
src/galois/_domains/_function.py#L8
src/galois/_domains/_function.py:8:55: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_domains/_linalg.py#L7
src/galois/_domains/_linalg.py:7:35: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_fields/_factory.py#L8
src/galois/_fields/_factory.py:8:25: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_fields/_meta.py#L6
src/galois/_fields/_meta.py:6:35: F401 `typing.Type` imported but unused
|
Ruff (F401):
src/galois/_polymorphic.py#L8
src/galois/_polymorphic.py:8:17: F401 `numpy` imported but unused
|
Ruff Format
Process completed with exit code 1.
|
Ruff Lint (3.11)
The job was canceled because "_3_7" failed.
|
Ruff Lint (3.11)
The operation was canceled.
|
Ruff Lint (3.9)
The job was canceled because "_3_7" failed.
|
Ruff Lint (3.9)
The operation was canceled.
|