Skip to content

[Draft] Ruff as linter #5

[Draft] Ruff as linter

[Draft] Ruff as linter #5

Triggered via pull request March 10, 2025 12:08
Status Failure
Total duration 14s
Artifacts

ruff.yml

on: pull_request
Ruff Linting
5s
Ruff Linting
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (F401): .github/scripts/check_kilosort4_releases.py#L2
.github/scripts/check_kilosort4_releases.py:2:8: F401 `re` imported but unused
Ruff (F401): .github/scripts/check_kilosort4_releases.py#L7
.github/scripts/check_kilosort4_releases.py:7:8: F401 `spikeinterface` imported but unused
Ruff (F401): doc/conf.py#L14
doc/conf.py:14:8: F401 `sys` imported but unused
Ruff (F401): doc/conf.py#L16
doc/conf.py:16:21: F401 `pathlib.Path` imported but unused
Ruff (F401): doc/conf.py#L99
doc/conf.py:99:12: F401 `sphinx_rtd_theme` imported but unused; consider using `importlib.util.find_spec` to test for availability
Ruff (F401): doc/images/make_comparison_figures.py#L14
doc/images/make_comparison_figures.py:14:37: F401 `spikeinterface.extractors` imported but unused
Ruff (F401): examples/get_started/quickstart.py#L37
examples/get_started/quickstart.py:37:8: F401 `spikeinterface` imported but unused
Ruff (F401): examples/get_started/quickstart.py#L53
examples/get_started/quickstart.py:53:40: F401 `spikeinterface.preprocessing` imported but unused
Ruff (F401): examples/get_started/quickstart.py#L55
examples/get_started/quickstart.py:55:41: F401 `spikeinterface.postprocessing` imported but unused
Ruff (F401): examples/how_to/benchmark_with_hybrid_recordings.py#L35
examples/how_to/benchmark_with_hybrid_recordings.py:35:53: F401 `spikeinterface.sortingcomponents.motion.estimate_motion` imported but unused
Ruff Linting
Could not parse version from /home/runner/work/spikeinterface/spikeinterface/pyproject.toml. Using latest version.