Skip to content

Define actions workflow for dtocean-core #1

Define actions workflow for dtocean-core

Define actions workflow for dtocean-core #1

Triggered via push December 21, 2024 15:32
Status Failure
Total duration 2m 11s
Artifacts

dtocean-core.yml

on: push
Code audit
40s
Code audit
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
Ruff: packages/dtocean-core/notebooks/DTOcean Tidal Hydrodynamics Example.ipynb#L127
notebooks/DTOcean Tidal Hydrodynamics Example.ipynb:1:1: SyntaxError: Simple statements must be separated by newlines or semicolons
Ruff (E711): packages/dtocean-core/src/dtocean_plugins/plots/plots_environmental.py#L462
src/dtocean_plugins/plots/plots_environmental.py:462:20: E711 Comparison to `None` should be `cond is None`
Ruff (E741): packages/dtocean-core/src/dtocean_plugins/plots/plots_installation.py#L534
src/dtocean_plugins/plots/plots_installation.py:534:43: E741 Ambiguous variable name: `l`
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_tidal.py#L201
src/dtocean_plugins/plots/plots_tidal.py:201:9: F841 Local variable `ax1` is assigned to but never used
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_tidal.py#L209
src/dtocean_plugins/plots/plots_tidal.py:209:9: F841 Local variable `Q` is assigned to but never used
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_wave.py#L101
src/dtocean_plugins/plots/plots_wave.py:101:9: F841 Local variable `ax1` is assigned to but never used
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_wave.py#L104
src/dtocean_plugins/plots/plots_wave.py:104:9: F841 Local variable `header_0` is assigned to but never used
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_wave.py#L111
src/dtocean_plugins/plots/plots_wave.py:111:9: F841 Local variable `header_1` is assigned to but never used
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_wave.py#L118
src/dtocean_plugins/plots/plots_wave.py:118:9: F841 Local variable `the_table` is assigned to but never used
Ruff (F841): packages/dtocean-core/src/dtocean_plugins/plots/plots_wave.py#L205
src/dtocean_plugins/plots/plots_wave.py:205:9: F841 Local variable `ax1` is assigned to but never used
Unit tests (ubuntu-latest)
Process completed with exit code 2.
Unit tests (windows-latest)
Process completed with exit code 1.
Code audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636