Skip to content

cleaned code following ruff report, except for tests #41

cleaned code following ruff report, except for tests

cleaned code following ruff report, except for tests #41

Triggered via push August 13, 2024 09:06
Status Failure
Total duration 1m 36s
Artifacts
Matrix: build-linux
Fit to window
Zoom out
Zoom in

Annotations

35 errors
build-linux (3.10)
Process completed with exit code 2.
Ruff (F401): src/mopdb/mopdb.py#L31
src/mopdb/mopdb.py:31:26: F401 `mopdb.utils.config_log` imported but unused
Ruff (F841): src/mopdb/mopdb_map.py#L102
src/mopdb/mopdb_map.py:102:5: F841 Local variable `time_axs_len` is assigned to but never used
Ruff (F541): src/mopdb/mopdb_map.py#L114
src/mopdb/mopdb_map.py:114:28: F541 f-string without any placeholders
Ruff (F841): src/mopper/calculations.py#L235
src/mopper/calculations.py:235:33: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/calculations.py#L788
src/mopper/calculations.py:788:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/calculations.py#L931
src/mopper/calculations.py:931:5: F841 Local variable `v` is assigned to but never used
Ruff (F811): src/mopper/calculations.py#L1237
src/mopper/calculations.py:1237:5: F811 Redefinition of unused `calc_global_ave_ocean` from line 765
Ruff (F841): src/mopper/calculations.py#L1248
src/mopper/calculations.py:1248:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/cmip_utils.py#L139
src/mopper/cmip_utils.py:139:45: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/cmip_utils.py#L141
src/mopper/cmip_utils.py:141:37: F841 Local variable `e` is assigned to but never used
build-linux (3.11)
The job was canceled because "_3_10" failed.
Ruff (F401): src/mopdb/mopdb.py#L31
src/mopdb/mopdb.py:31:26: F401 `mopdb.utils.config_log` imported but unused
Ruff (F841): src/mopdb/mopdb_map.py#L102
src/mopdb/mopdb_map.py:102:5: F841 Local variable `time_axs_len` is assigned to but never used
Ruff (F541): src/mopdb/mopdb_map.py#L114
src/mopdb/mopdb_map.py:114:28: F541 f-string without any placeholders
Ruff (F841): src/mopper/calculations.py#L235
src/mopper/calculations.py:235:33: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/calculations.py#L788
src/mopper/calculations.py:788:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/calculations.py#L931
src/mopper/calculations.py:931:5: F841 Local variable `v` is assigned to but never used
Ruff (F811): src/mopper/calculations.py#L1237
src/mopper/calculations.py:1237:5: F811 Redefinition of unused `calc_global_ave_ocean` from line 765
Ruff (F841): src/mopper/calculations.py#L1248
src/mopper/calculations.py:1248:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/cmip_utils.py#L139
src/mopper/cmip_utils.py:139:45: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/cmip_utils.py#L141
src/mopper/cmip_utils.py:141:37: F841 Local variable `e` is assigned to but never used
build-linux (3.11)
Process completed with exit code 2.
build-linux (3.12)
The job was canceled because "_3_10" failed.
Ruff (F401): src/mopdb/mopdb.py#L31
src/mopdb/mopdb.py:31:26: F401 `mopdb.utils.config_log` imported but unused
Ruff (F841): src/mopdb/mopdb_map.py#L102
src/mopdb/mopdb_map.py:102:5: F841 Local variable `time_axs_len` is assigned to but never used
Ruff (F541): src/mopdb/mopdb_map.py#L114
src/mopdb/mopdb_map.py:114:28: F541 f-string without any placeholders
Ruff (F841): src/mopper/calculations.py#L235
src/mopper/calculations.py:235:33: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/calculations.py#L788
src/mopper/calculations.py:788:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/calculations.py#L931
src/mopper/calculations.py:931:5: F841 Local variable `v` is assigned to but never used
Ruff (F811): src/mopper/calculations.py#L1237
src/mopper/calculations.py:1237:5: F811 Redefinition of unused `calc_global_ave_ocean` from line 765
Ruff (F841): src/mopper/calculations.py#L1248
src/mopper/calculations.py:1248:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/cmip_utils.py#L139
src/mopper/cmip_utils.py:139:45: F841 Local variable `e` is assigned to but never used
Ruff (F841): src/mopper/cmip_utils.py#L141
src/mopper/cmip_utils.py:141:37: F841 Local variable `e` is assigned to but never used
build-linux (3.12)
Process completed with exit code 2.