Skip to content

Ticket8378 add ruff formatting #1

Ticket8378 add ruff formatting

Ticket8378 add ruff formatting #1

Triggered via pull request August 5, 2024 10:52
Status Failure
Total duration 35s
Artifacts

linter.yml

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

Annotations

11 errors
Ruff (N803): tests/page_tests.py#L42
tests/page_tests.py:42:24: N803 Argument name `methodName` should be lowercase
Ruff (N803): tests/shadow_mirroring_tests.py#L34
tests/shadow_mirroring_tests.py:34:24: N803 Argument name `methodName` should be lowercase
Ruff (ANN201): utils/file_system_utils.py#L6
utils/file_system_utils.py:6:5: ANN201 Missing return type annotation for public function `rmtree_error`
Ruff (ANN001): utils/file_system_utils.py#L6
utils/file_system_utils.py:6:18: ANN001 Missing type annotation for function argument `func`
Ruff (ANN001): utils/file_system_utils.py#L6
utils/file_system_utils.py:6:24: ANN001 Missing type annotation for function argument `path`
Ruff (ANN001): utils/file_system_utils.py#L6
utils/file_system_utils.py:6:30: ANN001 Missing type annotation for function argument `exc_info`
Ruff (ANN201): utils/file_system_utils.py#L15
utils/file_system_utils.py:15:5: ANN201 Missing return type annotation for public function `delete_dir`
Ruff (ANN001): utils/file_system_utils.py#L15
utils/file_system_utils.py:15:16: ANN001 Missing type annotation for function argument `directory`
Ruff (ANN201): utils/file_system_utils.py#L23
utils/file_system_utils.py:23:5: ANN201 Missing return type annotation for public function `find_files_with_extension`
Ruff (ANN001): utils/file_system_utils.py#L23
utils/file_system_utils.py:23:31: ANN001 Missing type annotation for function argument `directory`
call-workflow / pyright
Process completed with exit code 1.