[PR #104] [MERGED] Refactor unnecessary else / elif when if block has a return statement #155

Closed
opened 2026-02-27 08:12:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kokarare1212/librespot-python/pull/104
Author: @deepsource-autofix[bot]
Created: 12/26/2021
Status: Merged
Merged: 12/26/2021
Merged by: @kokarare1212

Base: rewriteHead: deepsource-fix-1466be2d


📝 Commits (2)

  • 129fb92 Refactor unnecessary else / elif when if block has a return statement
  • 246be47 Format code with yapf

📊 Changes

3 files changed (+38 additions, -45 deletions)

View changed files

📝 librespot/audio/__init__.py (+32 -37)
📝 librespot/core.py (+4 -5)
📝 librespot/metadata.py (+2 -3)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kokarare1212/librespot-python/pull/104 **Author:** [@deepsource-autofix[bot]](https://github.com/apps/deepsource-autofix) **Created:** 12/26/2021 **Status:** ✅ Merged **Merged:** 12/26/2021 **Merged by:** [@kokarare1212](https://github.com/kokarare1212) **Base:** `rewrite` ← **Head:** `deepsource-fix-1466be2d` --- ### 📝 Commits (2) - [`129fb92`](https://github.com/kokarare1212/librespot-python/commit/129fb92511bd7d42814095197c0250b588d66873) Refactor unnecessary `else` / `elif` when `if` block has a `return` statement - [`246be47`](https://github.com/kokarare1212/librespot-python/commit/246be47505cc896d6d03c1eaaab5ce28bd81ab3d) Format code with yapf ### 📊 Changes **3 files changed** (+38 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `librespot/audio/__init__.py` (+32 -37) 📝 `librespot/core.py` (+4 -5) 📝 `librespot/metadata.py` (+2 -3) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:12:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot-python-kokarare1212#155
No description provided.