Skip to content

Improve Readability and Maintainability of truss_handle.py #1052

@AmadouO20

Description

@AmadouO20

Problem:
The truss_handle.py file has become difficult to read and maintain due to its complexity. To ensure the future of the codebase and to make it easier for new contributors/users to understand the file.

Proposed Solution:
Refactor Code into Smaller Functions
Adhere to Coding Standards: such as PEP 8 standards

Alternatives
Another alternative is FLAK8 and reduce the length of some lines.

Additional context
For example, the function docker_run in truss_handle.py can be refactored as it has >100 lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions