mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[PR #988] [CLOSED] Enhncements: Updated installation instructions, added test script, refactoring and example function #1111
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#1111
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/988
Author: @soman24
Created: 6/9/2023
Status: ❌ Closed
Base:
master← Head:merged📝 Commits (10+)
354871dUpdate setup.pya8b5662Update index.rst85cfcc1Add files via upload792b335Add files via upload35c0f57Update index.rst34d51dbUpdate index.rstab64b92Delete docs/_static directoryd0ef320Delete docs/_sources directory7c99847Delete genindex.html53372a8Delete index.html📊 Changes
4 files changed (+150 additions, -31 deletions)
View changed files
📝
docs/index.rst(+75 -13)📝
examples/artist_recommendations.py(+6 -0)📝
setup.py(+24 -18)➕
tests/unit/test_search.py(+45 -0)📄 Description
Hello! I'm a student working on this project as part of my coursework. I've made several changes and additions based on the requirements. Here's a summary of my changes:
Installation Instructions: I have updated the installation instructions in the index.rst file to provide clearer and more detailed steps for setting up the project on different operating systems.
Test Script: I've added a new test script, "test_search.py", which includes unit tests for a core functionality of the project. These tests cover edge cases and ensure the reliability of the code.
Code Refactoring: As part of my documentation efforts, I refactored some of the code in 'setup.py' for improved readability and adherence to best practices. The changes include renaming variables and adding comments.
Added Function: I've also added a new function, "get_related_artists()", in "artist_recommendations.py". This function can serve as a reference for other contributors and users of the project.
I've tested the changes locally to ensure they work as intended and have updated the documentation accordingly. I'm confident that these updates will enhance the project's usability and maintainability. Please let me know if you have any feedback or suggestions. Thank you!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.