Skip to content

Refactoring eurotherm tests to work with multiple sensors #49

Refactoring eurotherm tests to work with multiple sensors

Refactoring eurotherm tests to work with multiple sensors #49

Triggered via pull request November 5, 2024 17:11
Status Failure
Total duration 30s
Artifacts

linter.yml

on: pull_request
call-workflow  /  ruff
10s
call-workflow / ruff
call-workflow  /  pyright
19s
call-workflow / pyright
Fit to window
Zoom out
Zoom in

Annotations

12 errors
call-workflow / ruff
Process completed with exit code 123.
Ruff (I001): common_tests/eurotherm.py#L1
common_tests/eurotherm.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): common_tests/eurotherm.py#L4
common_tests/eurotherm.py:4:8: F401 `contextlib` imported but unused
Ruff (F811): common_tests/eurotherm.py#L344
common_tests/eurotherm.py:344:9: F811 Redefinition of unused `test_WHEN_output_set_via_backdoor_THEN_output_updates` from line 338
Ruff (N806): tests/eurotherm_eibisynch.py#L97
tests/eurotherm_eibisynch.py:97:9: N806 Variable `C006_CALIBRATION_FILE_MAX` in function should be lowercase
Ruff (N806): tests/eurotherm_eibisynch.py#L98
tests/eurotherm_eibisynch.py:98:9: N806 Variable `C006_CALIBRATION_FILE_MIN` in function should be lowercase
Ruff (N806): tests/eurotherm_eibisynch.py#L120
tests/eurotherm_eibisynch.py:120:13: N806 Variable `PV_sensor` in function should be lowercase
Ruff (F601): tests/eurotherm_modbus.py#L38
tests/eurotherm_modbus.py:38:13: F601 Dictionary key literal `"NEEDLE_VALVE"` repeated
Ruff (ANN201): utils/emulator_launcher.py#L484
utils/emulator_launcher.py:484:9: ANN201 Missing return type annotation for public function `backdoor_simulate_disconnected_addr`
Ruff (ANN001): utils/emulator_launcher.py#L484
utils/emulator_launcher.py:484:51: ANN001 Missing type annotation for function argument `emulator_property`
call-workflow / ruff
Process completed with exit code 123.
call-workflow / pyright
Process completed with exit code 1.