Skip to content

Forgot to remove this item in the docstring #27

Forgot to remove this item in the docstring

Forgot to remove this item in the docstring #27

Triggered via push July 25, 2023 18:26
Status Failure
Total duration 24s
Artifacts

flake8.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (PERF401): acis_thermal_check/acis_obs.py#L304
acis_thermal_check/acis_obs.py:304:13: PERF401 Use a list comprehension to create a transformed list
Ruff (PLR5501): acis_thermal_check/acis_obs.py#L359
acis_thermal_check/acis_obs.py:359:9: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
Ruff (PERF402): acis_thermal_check/apps/acisfp_check.py#L450
acis_thermal_check/apps/acisfp_check.py:450:13: PERF402 Use `list` or `list.copy` to create a copy of a list
Ruff (PLR5501): acis_thermal_check/apps/acisfp_check.py#L565
acis_thermal_check/apps/acisfp_check.py:565:9: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
Ruff (UP031): acis_thermal_check/main.py#L552
acis_thermal_check/main.py:552:23: UP031 Use format specifiers instead of percent format
Ruff (D202): acis_thermal_check/main.py#L1399
acis_thermal_check/main.py:1399:9: D202 No blank lines allowed after function docstring (found 1)
Ruff (UP031): acis_thermal_check/main.py#L1439
acis_thermal_check/main.py:1439:13: UP031 Use format specifiers instead of percent format
Ruff (RUF015): acis_thermal_check/state_builder.py#L154
acis_thermal_check/state_builder.py:154:29: RUF015 Prefer `next(...)` over single element slice
Ruff (PLR5501): acis_thermal_check/state_builder.py#L190
acis_thermal_check/state_builder.py:190:9: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
Ruff (S301): acis_thermal_check/tests/regression_testing.py#L349
acis_thermal_check/tests/regression_testing.py:349:27: S301 `pickle` and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue