Skip to content

Fix various testing and linting issues #28

Fix various testing and linting issues

Fix various testing and linting issues #28

Triggered via push January 26, 2025 10:01
Status Failure
Total duration 41s
Artifacts
lint_and_type_check
23s
lint_and_type_check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 2 warnings
Ruff (FBT001): snappylapy/_cli.py#L42
snappylapy/_cli.py:42:11: FBT001 Boolean-typed positional argument in function definition
Ruff (FBT003): snappylapy/_cli.py#L43
snappylapy/_cli.py:43:5: FBT003 Boolean positional value in function call
Ruff (E501): snappylapy/_plugin.py#L157
snappylapy/_plugin.py:157:121: E501 Line too long (124 > 120)
Ruff (ANN401): snappylapy/_plugin.py#L163
snappylapy/_plugin.py:163:46: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `__getattribute__`
Ruff (E501): snappylapy/_plugin.py#L164
snappylapy/_plugin.py:164:121: E501 Line too long (127 > 120)
Ruff (PT019): snappylapy/_plugin.py#L175
snappylapy/_plugin.py:175:20: PT019 Fixture `_` without value is injected as parameter, use `@pytest.mark.usefixtures` instead
Ruff (E501): snappylapy/_plugin.py#L181
snappylapy/_plugin.py:181:121: E501 Line too long (175 > 120)
Ruff (TRY002): snappylapy/_plugin.py#L182
snappylapy/_plugin.py:182:15: TRY002 Create your own exception
Ruff (ERA001): snappylapy/_plugin.py#L209
snappylapy/_plugin.py:209:9: ERA001 Found commented-out code
Ruff (ERA001): snappylapy/_plugin.py#L212
snappylapy/_plugin.py:212:9: ERA001 Found commented-out code
test (3.13)
Process completed with exit code 1.
test (3.9)
The job was canceled because "_3_13" failed.
test (3.9)
Process completed with exit code 1.
lint_and_type_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (3.13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636