Skip to content

Apply ruff fixes

Apply ruff fixes #409

Triggered via push September 13, 2024 08:49
Status Failure
Total duration 2m 29s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Ruff (F822): src/boutdata/__init__.py#L18
src/boutdata/__init__.py:18:5: F822 Undefined name `gen_surface` in `__all__`
Ruff (F822): src/boutdata/__init__.py#L19
src/boutdata/__init__.py:19:5: F822 Undefined name `pol_slice` in `__all__`
Ruff (F841): src/boutdata/settings.py#L78
src/boutdata/settings.py:78:27: F841 Local variable `comment` is assigned to but never used
Ruff (F841): src/boutdata/tests/test_collect.py#L934
src/boutdata/tests/test_collect.py:934:20: F841 Local variable `expected` is assigned to but never used
Ruff (F841): src/boutdata/tests/test_collect.py#L934
src/boutdata/tests/test_collect.py:934:30: F841 Local variable `fieldperp_global_yind` is assigned to but never used
Ruff (F841): src/boututils/View3D.py#L337
src/boututils/View3D.py:337:5: F841 Local variable `nx` is assigned to but never used
Ruff (F841): src/boututils/View3D.py#L337
src/boututils/View3D.py:337:9: F841 Local variable `ny` is assigned to but never used
Ruff (F841): src/boututils/View3D.py#L337
src/boututils/View3D.py:337:13: F841 Local variable `nz` is assigned to but never used
Ruff (F841): src/boututils/View3D.py#L376
src/boututils/View3D.py:376:5: F841 Local variable `nx` is assigned to but never used
Ruff (F841): src/boututils/View3D.py#L376
src/boututils/View3D.py:376:9: F841 Local variable `ny` is assigned to but never used
test (3.10, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (3.11, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (3.9, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/