Skip to content

reduce complexity by splitting logic - #44

Merged
linuxmaniac merged 3 commits into
masterfrom
vseva/fix_complexity
Oct 13, 2026
Merged

linuxmaniac merged 3 commits into
masterfrom
vseva/fix_complexity

Conversation

@linuxmaniac

Copy link
Copy Markdown
Member

After switching to ruff:

ruff (C901): kamcli/iorpc.py
kamcli/iorpc.py:279:5: C901 `command_jsonrpc_socket` is too complex (24 > 18)
ruff (C901): kamcli/commands/cmd_tls.py
kamcli/commands/cmd_tls.py:58:5: C901 `tls_cfgprint` is too complex (22 > 18)
ruff (C901): kamcli/commands/cmd_shell.py
kamcli/commands/cmd_shell.py:255:5: C901 `shell_repl` is too complex (19 > 18)
ruff (C901): kamcli/commands/cmd_shell.py
kamcli/commands/cmd_shell.py:164:9: C901 `get_completions` is too complex (19 > 18)

@linuxmaniac
linuxmaniac force-pushed the vseva/fix_complexity branch from 085ec81 to af78f6d Compare October 9, 2026 14:12
@linuxmaniac
linuxmaniac marked this pull request as ready for review October 9, 2026 14:15
@miconda

miconda commented Oct 13, 2026

Copy link
Copy Markdown
Member

Fine for me to merge, thanks!

@linuxmaniac
linuxmaniac merged commit e92a81c into master Oct 13, 2026
2 checks passed
@linuxmaniac
linuxmaniac deleted the vseva/fix_complexity branch October 13, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants