Skip to content

FIX: refub ruff fixes #330

FIX: refub ruff fixes

FIX: refub ruff fixes #330

Triggered via push November 6, 2024 17:23
Status Failure
Total duration 16s
Artifacts

ruff.yml

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

Annotations

4 errors
Ruff (PLR1714): MethodicConfigurator/frontend_tkinter_component_editor.py#L258
MethodicConfigurator/frontend_tkinter_component_editor.py:258:12: PLR1714 Consider merging multiple comparisons: `manufacturer not in ("Unknown", "ArduPilot")`. Use a `set` if the elements are hashable.
Ruff (PLR1714): MethodicConfigurator/frontend_tkinter_component_editor.py#L262
MethodicConfigurator/frontend_tkinter_component_editor.py:262:12: PLR1714 Consider merging multiple comparisons: `model not in ("Unknown", "MAVLink")`. Use a `set` if the elements are hashable.
Ruff (SIM115): unittests/annotate_params_test.py#L46
unittests/annotate_params_test.py:46:26: SIM115 Use a context manager for opening files
build (3.12)
Process completed with exit code 1.