test: add unit tests for flow_setup.py - #60
Merged
Annotations
11 errors
|
Check code formatting
The process '/opt/hostedtoolcache/ruff/0.15.21/x86_64/ruff' failed with exit code 1
|
|
Run Ruff linter on Python code:
src/flow_setup.py#L120
src/flow_setup.py:120:9: E722 Do not use bare `except`
|
|
Run Ruff linter on Python code:
src/flow_setup.py#L1
src/flow_setup.py:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L224
src/command_control_extension_tcp.py:224:12: PLW0603 Using the global statement to update `server_instance` is discouraged
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L215
src/command_control_extension_tcp.py:215:12: PLW0603 Using the global statement to update `client_instance` is discouraged
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L140
src/command_control_extension_tcp.py:140:18: PLW1510 `subprocess.run` without explicit `check` argument
help: Add explicit `check=False`
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L121
src/command_control_extension_tcp.py:121:25: PLR2004 Magic value used in comparison, consider replacing `3` with a constant variable
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L114
src/command_control_extension_tcp.py:114:12: PLW0602 Using global for `command_counter` but no assignment is done
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L113
src/command_control_extension_tcp.py:113:5: PLR0915 Too many statements (55 > 50)
|
|
Run Ruff linter on Python code:
src/command_control_extension_tcp.py#L1
src/command_control_extension_tcp.py:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
Run Ruff linter on Python code:
docs/batch_translate_po.py#L66
docs/batch_translate_po.py:66:12: PLR1714 Consider merging multiple comparisons: `idx in (1, total)`. Use a `set` if the elements are hashable.
help: Merge multiple comparisons
|
background
wait
wait-all
cancel
parallel
Loading