Skip to content

unparsed_args removed from tagger.py#2127

Merged
phw merged 2 commits intometabrainz:masterfrom
skelly37:remove-unused-args
Jul 4, 2022
Merged

unparsed_args removed from tagger.py#2127
phw merged 2 commits intometabrainz:masterfrom
skelly37:remove-unused-args

Conversation

@skelly37
Copy link
Contributor

@skelly37 skelly37 commented Jul 1, 2022

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Since the variable wasn't used anywhere (wasn't even stored as Tagger's attribute), I'd suggest to remove it, unless you have some reason to still keep it there.

Problem

Unused variable returned, stored and passed to the Tagger's constructor just to be left untouched

  • JIRA ticket (optional): None

Solution

I've safely removed all the unparsed_args's ocurrences.

skelly37 added 2 commits July 1, 2022 06:52
Since the variable wasn't used anywhere (wasn't even stored as `Tagger`'s attribute), I'd suggest to remove it, unless you have some reason to still keep it there.
@skelly37
Copy link
Contributor Author

skelly37 commented Jul 1, 2022

The issue has already been discussed in my GSoC PR and since the single-instance-mode is getting final polishing, there's more time for smaller and greater refactoring :)

@zas zas requested a review from phw July 1, 2022 12:56
@phw phw merged commit a204b52 into metabrainz:master Jul 4, 2022
@skelly37 skelly37 deleted the remove-unused-args branch July 4, 2022 06:12
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.

3 participants