Skip to content

Add codespell and ruff #1

Add codespell and ruff

Add codespell and ruff #1

Triggered via pull request January 3, 2025 18:51
@rlyrly
opened #32
workflows
Status Failure
Total duration 18s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (F401): src/jdb_to_nwb/__init__.py#L1
src/jdb_to_nwb/__init__.py:1:23: F401 `._version.__version__` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F841): src/jdb_to_nwb/convert.py#L31
src/jdb_to_nwb/convert.py:31:5: F841 Local variable `photometry_start_in_arduino_time` is assigned to but never used
Ruff (T201): src/jdb_to_nwb/convert.py#L34
src/jdb_to_nwb/convert.py:34:5: T201 `print` found
Ruff (F541): src/jdb_to_nwb/convert.py#L34
src/jdb_to_nwb/convert.py:34:11: F541 f-string without any placeholders
Ruff (T201): src/jdb_to_nwb/convert.py#L39
src/jdb_to_nwb/convert.py:39:5: T201 `print` found
Ruff (E722): src/jdb_to_nwb/convert_behavior.py#L25
src/jdb_to_nwb/convert_behavior.py:25:5: E722 Do not use bare `except`
Ruff (T201): src/jdb_to_nwb/convert_behavior.py#L235
src/jdb_to_nwb/convert_behavior.py:235:5: T201 `print` found
Ruff (E501): src/jdb_to_nwb/convert_behavior.py#L293
src/jdb_to_nwb/convert_behavior.py:293:121: E501 Line too long (129 > 120)
Ruff (E501): src/jdb_to_nwb/convert_behavior.py#L381
src/jdb_to_nwb/convert_behavior.py:381:121: E501 Line too long (177 > 120)
Ruff (F401): src/jdb_to_nwb/convert_photometry.py#L14
src/jdb_to_nwb/convert_photometry.py:14:5: F401 `ndx_fiber_photometry.Indicator` imported but unused
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636