[PR #224] [MERGED] Clean examples #825

Closed
opened 2026-02-28 00:01:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/224
Author: @s3bw
Created: 10/23/2017
Status: Merged
Merged: 1/12/2020
Merged by: @stephanebruckert

Base: masterHead: clean-examples


📝 Commits (3)

📊 Changes

18 files changed (+15 additions, -30 deletions)

View changed files

📝 examples/add_tracks_to_playlist.py (+0 -1)
📝 examples/artist_albums.py (+1 -1)
📝 examples/artist_recommendations.py (+1 -1)
📝 examples/audio_analysis_for_track.py (+1 -1)
📝 examples/audio_features.py (+1 -1)
📝 examples/audio_features_for_track.py (+1 -1)
📝 examples/change_playlist_details.py (+1 -1)
📝 examples/create_playlist.py (+0 -2)
📝 examples/errors.py (+4 -7)
📝 examples/my_playlists.py (+0 -2)
📝 examples/remove_specific_tracks_from_playlist.py (+2 -2)
📝 examples/show_artist_top_tracks.py (+0 -1)
📝 examples/show_featured_playlists.py (+0 -1)
📝 examples/show_new_releases.py (+1 -2)
📝 examples/show_related.py (+0 -1)
📝 examples/title_chain.py (+1 -1)
📝 examples/user_playlists.py (+0 -3)
📝 examples/user_starred_playlist.py (+1 -1)

📄 Description

Make examples more pep8 compliant.

  • removed unused imports
  • removed spaces around operators
  • format spaces around brackets

Idiomatic changes to examples.

Improve readability and standard of examples


🔄 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/spotipy-dev/spotipy/pull/224 **Author:** [@s3bw](https://github.com/s3bw) **Created:** 10/23/2017 **Status:** ✅ Merged **Merged:** 1/12/2020 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `clean-examples` --- ### 📝 Commits (3) - [`0eeeeb4`](https://github.com/spotipy-dev/spotipy/commit/0eeeeb4a50f8c03c2bdbe3298c540131ca7b118d) Remove unused imports - [`0b09424`](https://github.com/spotipy-dev/spotipy/commit/0b0942423ce98a4662966483f9f14c15323a010d) Remove spaces around keyword operator - [`6c83f09`](https://github.com/spotipy-dev/spotipy/commit/6c83f09898393facc8f3276c74e3f972957a8c69) Format examples ### 📊 Changes **18 files changed** (+15 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `examples/add_tracks_to_playlist.py` (+0 -1) 📝 `examples/artist_albums.py` (+1 -1) 📝 `examples/artist_recommendations.py` (+1 -1) 📝 `examples/audio_analysis_for_track.py` (+1 -1) 📝 `examples/audio_features.py` (+1 -1) 📝 `examples/audio_features_for_track.py` (+1 -1) 📝 `examples/change_playlist_details.py` (+1 -1) 📝 `examples/create_playlist.py` (+0 -2) 📝 `examples/errors.py` (+4 -7) 📝 `examples/my_playlists.py` (+0 -2) 📝 `examples/remove_specific_tracks_from_playlist.py` (+2 -2) 📝 `examples/show_artist_top_tracks.py` (+0 -1) 📝 `examples/show_featured_playlists.py` (+0 -1) 📝 `examples/show_new_releases.py` (+1 -2) 📝 `examples/show_related.py` (+0 -1) 📝 `examples/title_chain.py` (+1 -1) 📝 `examples/user_playlists.py` (+0 -3) 📝 `examples/user_starred_playlist.py` (+1 -1) </details> ### 📄 Description <!--- Provide a general summary of your changes in the Title above --> Make examples more pep8 compliant. - removed unused imports - removed spaces around operators - format spaces around brackets <!--- Describe your changes in detail --> Idiomatic changes to examples. Improve readability and standard of examples --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:01:56 +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/spotipy#825
No description provided.