Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatted strings #1178

Merged
merged 6 commits into from
Jan 14, 2025
Merged

Formatted strings #1178

merged 6 commits into from
Jan 14, 2025

Conversation

dieser-niko
Copy link
Member

closes #1159

There are some capitalisations in there as well.
Also, I had to change the playlist in examples/follow_playlist.py to a user playlist due to the recent API changes.

@dieser-niko dieser-niko linked an issue Dec 3, 2024 that may be closed by this pull request
@dieser-niko
Copy link
Member Author

@haviv1idan you can also check out the PR. I've included some of your changes, but not all. For some, I have added a comment to your PR (#1165)

@kampelmuehler
Copy link

Why mix .format() and f-strings?

Copy link

@haviv1idan haviv1idan left a comment

Choose a reason for hiding this comment

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

@dieser-niko Very nice job.
Just a few suggestions to keep consistency in code

docs/index.rst Outdated Show resolved Hide resolved
spotipy/client.py Outdated Show resolved Hide resolved
spotipy/client.py Outdated Show resolved Hide resolved
spotipy/oauth2.py Outdated Show resolved Hide resolved
spotipy/oauth2.py Outdated Show resolved Hide resolved
spotipy/oauth2.py Outdated Show resolved Hide resolved
spotipy/oauth2.py Outdated Show resolved Hide resolved
spotipy/oauth2.py Outdated Show resolved Hide resolved
@dieser-niko
Copy link
Member Author

Yeah honestly I don't know what went through my mind. I guess I preferred to use .format() because it would be easier to read, but I agree, consistency would actually be better.

Currently I don't have the time to fix, expect activity in the next month.

Copy link

@haviv1idan haviv1idan left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

@dieser-niko dieser-niko merged commit 2bc8d35 into master Jan 14, 2025
12 checks passed
@dieser-niko dieser-niko deleted the 1159-formatted-strings branch January 14, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

changing %s to f-string
4 participants