Skip to content

Ticket42 sum detect monitor spectra #265

Ticket42 sum detect monitor spectra

Ticket42 sum detect monitor spectra #265

Triggered via pull request December 11, 2024 13:32
Status Failure
Total duration 3m 57s
Artifacts

Lint-and-test.yml

on: pull_request
Matrix: tests
call-linter-workflow  /  ruff
8s
call-linter-workflow / ruff
call-linter-workflow  /  pyright
56s
call-linter-workflow / pyright
Final Results
0s
Final Results
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
Ruff (UP035): src/ibex_bluesky_core/devices/simpledae/reducers.py#L8
src/ibex_bluesky_core/devices/simpledae/reducers.py:8:1: UP035 Import from `collections.abc` instead: `Awaitable`, `Collection`, `Sequence`
Ruff (F811): src/ibex_bluesky_core/devices/simpledae/reducers.py#L8
src/ibex_bluesky_core/devices/simpledae/reducers.py:8:56: F811 Redefinition of unused `Collection` from line 7
Ruff (F811): src/ibex_bluesky_core/devices/simpledae/reducers.py#L8
src/ibex_bluesky_core/devices/simpledae/reducers.py:8:68: F811 Redefinition of unused `Sequence` from line 7
Ruff (PLR2004): src/ibex_bluesky_core/devices/simpledae/reducers.py#L65
src/ibex_bluesky_core/devices/simpledae/reducers.py:65:31: PLR2004 Magic value used in comparison, consider replacing `2` with a constant variable
Ruff (FURB180): src/ibex_bluesky_core/devices/simpledae/reducers.py#L118
src/ibex_bluesky_core/devices/simpledae/reducers.py:118:51: FURB180 Use of `metaclass=abc.ABCMeta` to define abstract base class
Ruff (RUF029): tests/devices/simpledae/test_reducers.py#L251
tests/devices/simpledae/test_reducers.py:251:11: RUF029 Function `spectra_bins_easy_to_test` is declared `async`, but doesn't `await` or use `async` features.
Ruff (RUF029): tests/devices/simpledae/test_reducers.py#L268
tests/devices/simpledae/test_reducers.py:268:11: RUF029 Function `spectra_bins_tof_convert_to_wavelength_easy` is declared `async`, but doesn't `await` or use `async` features.
Ruff (RUF029): tests/devices/simpledae/test_reducers.py#L288
tests/devices/simpledae/test_reducers.py:288:11: RUF029 Function `spectra_bins_tof_convert_to_wavelength_easy_copy` is declared `async`, but doesn't `await` or use `async` features.
Ruff (PT011): tests/devices/simpledae/test_reducers.py#L918
tests/devices/simpledae/test_reducers.py:918:43: PT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception
Ruff (PT011): tests/devices/simpledae/test_reducers.py#L923
tests/devices/simpledae/test_reducers.py:923:43: PT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception
tests (ubuntu-latest, 3.10)
Event loop is closed
tests (ubuntu-latest, 3.12)
Event loop is closed
tests (windows-latest, 3.10)
Event loop is closed
tests (windows-latest, 3.12)
Event loop is closed
Final Results
Process completed with exit code 1.
call-linter-workflow / ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (ubuntu-latest, 3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (ubuntu-latest, 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests (ubuntu-latest, 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-linter-workflow / pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Final Results
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636