Skip to content

black

black #130

Triggered via push February 24, 2025 11:14
Status Failure
Total duration 37s
Artifacts

lint.yml

on: push
lint-mdanse
15s
lint-mdanse
lint_check_ruff
7s
lint_check_ruff
lint-mdanse-gui
15s
lint-mdanse-gui
lint_check_ruff_gui
9s
lint_check_ruff_gui
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F841): MDANSE/Src/MDANSE/Framework/Configurators/TrajectoryFilterConfigurator.py#L103
MDANSE/Src/MDANSE/Framework/Configurators/TrajectoryFilterConfigurator.py:103:43: F841 Local variable `e` is assigned to but never used
Ruff (F841): MDANSE/Src/MDANSE/Framework/Jobs/TrajectoryFilter.py#L121
MDANSE/Src/MDANSE/Framework/Jobs/TrajectoryFilter.py:121:9: F841 Local variable `atoms` is assigned to but never used
Ruff (F841): MDANSE/Src/MDANSE/Mathematics/Signal.py#L940
MDANSE/Src/MDANSE/Mathematics/Signal.py:940:5: F841 Local variable `num_atoms` is assigned to but never used
Ruff (F841): MDANSE/Src/MDANSE/Mathematics/Signal.py#L942
MDANSE/Src/MDANSE/Mathematics/Signal.py:942:5: F841 Local variable `sorted_atoms` is assigned to but never used
Ruff (F821): MDANSE/Src/MDANSE/Mathematics/Signal.py#L983
MDANSE/Src/MDANSE/Mathematics/Signal.py:983:31: F821 Undefined name `weight`
Ruff (F821): MDANSE/Src/MDANSE/Mathematics/Signal.py#L991
MDANSE/Src/MDANSE/Mathematics/Signal.py:991:30: F821 Undefined name `weight`
lint_check_ruff
The process '/opt/hostedtoolcache/ruff/0.9.7/x86_64/ruff' failed with exit code 1
Ruff (F541): MDANSE_GUI/Src/MDANSE_GUI/InputWidgets/TrajectoryFilterWidget.py#L657
MDANSE_GUI/Src/MDANSE_GUI/InputWidgets/TrajectoryFilterWidget.py:657:17: F541 f-string without any placeholders
Ruff (F821): MDANSE_GUI/Src/MDANSE_GUI/Tabs/Visualisers/Action.py#L120
MDANSE_GUI/Src/MDANSE_GUI/Tabs/Visualisers/Action.py:120:37: F821 Undefined name `TrajectoryFilterWidget`
lint_check_ruff_gui
The process '/opt/hostedtoolcache/ruff/0.9.7/x86_64/ruff' failed with exit code 1