Updating power_iteration.py #10122
Annotations
10 errors
Ruff (I001):
linear_algebra/src/power_iteration.py#L1
linear_algebra/src/power_iteration.py:1:1: I001 Import block is un-sorted or un-formatted
|
Ruff (UP035):
linear_algebra/src/power_iteration.py#L2
linear_algebra/src/power_iteration.py:2:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
|
Ruff (UP007):
linear_algebra/src/power_iteration.py#L7
linear_algebra/src/power_iteration.py:7:31: UP007 Use `X | Y` for type annotations
|
Ruff (UP007):
linear_algebra/src/power_iteration.py#L8
linear_algebra/src/power_iteration.py:8:25: UP007 Use `X | Y` for type annotations
|
Ruff (UP006):
linear_algebra/src/power_iteration.py#L11
linear_algebra/src/power_iteration.py:11:6: UP006 Use `tuple` instead of `Tuple` for type annotation
|
Ruff (UP007):
linear_algebra/src/power_iteration.py#L11
linear_algebra/src/power_iteration.py:11:31: UP007 Use `X | Y` for type annotations
|
Ruff (N806):
linear_algebra/src/power_iteration.py#L41
linear_algebra/src/power_iteration.py:41:5: N806 Variable `N` in function should be lowercase
|
Ruff (N806):
linear_algebra/src/power_iteration.py#L41
linear_algebra/src/power_iteration.py:41:8: N806 Variable `M` in function should be lowercase
|
Ruff (SIM300):
linear_algebra/src/power_iteration.py#L44
linear_algebra/src/power_iteration.py:44:12: SIM300 Yoda condition detected
|
ruff
Process completed with exit code 1.
|