Ticket42 sum detect monitor spectra #265
Annotations
10 errors and 1 warning
Run Ruff Check on Changed Files:
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`
|
Run Ruff Check on Changed Files:
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
|
Run Ruff Check on Changed Files:
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
|
Run Ruff Check on Changed Files:
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
|
Run Ruff Check on Changed Files:
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
|
Run Ruff Check on Changed Files:
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.
|
Run Ruff Check on Changed Files:
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.
|
Run Ruff Check on Changed Files:
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.
|
Run Ruff Check on Changed Files:
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
|
Run Ruff Check on Changed Files:
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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading