mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #1185] [MERGED] Convert docstrings to reStructuredText #1201
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#1201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/1185
Author: @dieser-niko
Created: 1/24/2025
Status: ✅ Merged
Merged: 2/2/2025
Merged by: @dieser-niko
Base:
v3← Head:feature/docstring-improvement📝 Commits (4)
76ad4a6convert docstings to reStructuredText format for client.pyf312d7aconvert docstings to reStructuredText format for cache_handler.py, exceptions.py, oauth2.py, scope.py, util.pyb5e1577fix formatting and inconsistencies1b83d2fadd changelog📊 Changes
7 files changed (+1040 additions, -784 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
spotipy/cache_handler.py(+101 -28)📝
spotipy/client.py(+616 -608)📝
spotipy/exceptions.py(+25 -2)📝
spotipy/oauth2.py(+277 -127)📝
spotipy/scope.py(+10 -11)📝
spotipy/util.py(+10 -8)📄 Description
Currently there are two different types of docstrings being used and I only know one of them. Also RTD seems to be able to format RST better than the other format.
Using GitHub Copilot for that job and it seems to shorten a lot of descriptions, even when asked not to.
I'm still going to push these "mistakes" and I'll check afterwards if these changes make sense or not.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.