Skip to content

refactor(argparsing): Reduce code duplication#130

Merged
mimi1vx merged 1 commit intoopenSUSE:masterfrom
mimi1vx:refactor-argparsing-3095168792815582093
Dec 18, 2025
Merged

refactor(argparsing): Reduce code duplication#130
mimi1vx merged 1 commit intoopenSUSE:masterfrom
mimi1vx:refactor-argparsing-3095168792815582093

Conversation

@mimi1vx
Copy link
Member

@mimi1vx mimi1vx commented Dec 18, 2025

Refactored the argument parsing logic in repose/argparsing.py by introducing a helper function to create subparsers and add common arguments.

This change eliminates a significant amount of repeated code, making the module cleaner, more maintainable, and easier to extend.

Refactored the argument parsing logic in `repose/argparsing.py` by introducing a helper function to create subparsers and add common arguments.

This change eliminates a significant amount of repeated code, making the module cleaner, more maintainable, and easier to extend.
@mimi1vx mimi1vx merged commit 6faa579 into openSUSE:master Dec 18, 2025
1 check passed
@mimi1vx mimi1vx deleted the refactor-argparsing-3095168792815582093 branch December 18, 2025 09:46
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.

1 participant