Skip to content

Resolve Ruff lint failure in IOC module import/layout#2

Merged
Jakub Wlodek (jwlodek) merged 2 commits into
mainfrom
copilot/fix-linter-failure
Jun 12, 2026
Merged

Resolve Ruff lint failure in IOC module import/layout#2
Jakub Wlodek (jwlodek) merged 2 commits into
mainfrom
copilot/fix-linter-failure

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Main branch lint was failing in src/remote_svc_ctrl/ioc.py due to Ruff import-order and line-length violations. This PR applies minimal, non-functional edits to bring the file back into lint compliance.

  • Scope

    • Touches only src/remote_svc_ctrl/ioc.py.
    • No runtime behavior or interfaces changed.
  • Lint compliance updates

    • Reordered local imports to satisfy Ruff/isort ordering.
    • Wrapped the CLI --version argument declaration to satisfy the configured line-length limit.
  • Representative diff

    from ._version import __version__  # noqa: F401
    from .systemd import parse_systemctl_status, run_systemctl
    
    parser.add_argument(
        "-v", "--version", action="version", version=f"remote-svc-ctrl {__version__}"
    )

@jwlodek Jakub Wlodek (jwlodek) merged commit 269d80c into main Jun 12, 2026
9 checks passed
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