Skip to content

Conversation

rezib
Copy link
Collaborator

@rezib rezib commented Oct 15, 2025

The code is just moved without modification. The goal is to reduce statements and complexity of huge action() function.

Also add unit tests for changelog command to cover this code.

rezib added 2 commits October 15, 2025 14:00
The code is just moved without modification. The goal is to reduce
statements and complexity of huge action() function.
@rezib rezib requested review from qa-cea and valeriyoann October 15, 2025 12:28
Spec(pkg.specfile,
config=config).add_changelog_entry(author, args.comment,
bump=getattr(args, 'bump', False))
return 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: is it necessary to have this since the function cannot return anything but 0 ?

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