Skip to content

Add the ruff linter and formatter to recceiver #45

Add the ruff linter and formatter to recceiver

Add the ruff linter and formatter to recceiver #45

Triggered via pull request January 10, 2025 14:09
@jacomagojacomago
synchronize #98
jacomago:ruff
Status Failure
Total duration 19s
Artifacts

server.yml

on: pull_request
Matrix: build-server
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Ruff (E722): server/recceiver/announce.py#L68
server/recceiver/announce.py:68:13: E722 Do not use bare `except`
Ruff (E722): server/recceiver/processors.py#L123
server/recceiver/processors.py:123:13: E722 Do not use bare `except`
Ruff (F841): server/recceiver/scripts/test_mock_iocs.py#L22
server/recceiver/scripts/test_mock_iocs.py:22:9: F841 Local variable `empt` is assigned to but never used
Ruff: test-client.py#L11
test-client.py:11:7: SyntaxError: Simple statements must be separated by newlines or semicolons
Ruff: test-client.py#L13
test-client.py:13:9: SyntaxError: Simple statements must be separated by newlines or semicolons
ruff
The process '/opt/hostedtoolcache/ruff/0.9.0/x86_64/ruff' failed with exit code 1
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636