Skip to content

fix circular import

fix circular import #5

Triggered via pull request August 7, 2024 14:09
Status Failure
Total duration 34s
Artifacts

linters.yml

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

Annotations

10 errors
Ruff (ANN206): ReflectometryServer/config_helper.py#L57
ReflectometryServer/config_helper.py:57:9: ANN206 Missing return type annotation for classmethod `reset`
Ruff (ANN204): ReflectometryServer/config_helper.py#L69
ReflectometryServer/config_helper.py:69:9: ANN204 Missing return type annotation for special method `__init__`
Ruff (ANN201): ReflectometryServer/config_helper.py#L73
ReflectometryServer/config_helper.py:73:5: ANN201 Missing return type annotation for public function `get_configured_beamline`
Ruff (ANN201): ReflectometryServer/config_helper.py#L99
ReflectometryServer/config_helper.py:99:5: ANN201 Missing return type annotation for public function `add_constant`
Ruff (ANN001): ReflectometryServer/config_helper.py#L99
ReflectometryServer/config_helper.py:99:18: ANN001 Missing type annotation for function argument `constant`
Ruff (ANN201): ReflectometryServer/config_helper.py#L113
ReflectometryServer/config_helper.py:113:5: ANN201 Missing return type annotation for public function `add_component`
Ruff (ANN001): ReflectometryServer/config_helper.py#L113
ReflectometryServer/config_helper.py:113:19: ANN001 Missing type annotation for function argument `component`
Ruff (ANN001): ReflectometryServer/config_helper.py#L113
ReflectometryServer/config_helper.py:113:30: ANN001 Missing type annotation for function argument `marker`
Ruff (ANN201): ReflectometryServer/config_helper.py#L131
ReflectometryServer/config_helper.py:131:5: ANN201 Missing return type annotation for public function `add_component_marker`
Ruff (ANN201): ReflectometryServer/config_helper.py#L141
ReflectometryServer/config_helper.py:141:5: ANN201 Missing return type annotation for public function `add_parameter`