-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type hints, Refactor existing genres method
- Rename method _dedup_genre, since it's only used for finalizing/polishing existing genres. - Return separator-delimited string already. - Decide on not passing "separator" to methods, it's a config setting available throughout the plugin. Assign to variable where useful for readability though. - In the force branch, remove re-assigning keep_genres to empty list. - Fix a test. Existing genres are "polished" now, which means: configured title_case is applied. - Fix/add type hints on all touched and new methods
- Loading branch information
Showing
2 changed files
with
36 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters