Open HighnessAtharva opened 1 year ago
If possible, I think we should lift minimum Python version requirement to 3.6/3.7 since we can really improve the readability and efficiency of the code.
I think these are all great suggestions for https://github.com/spotipy-dev/spotipy/issues/652
v3 has its own branch. I would recommend that you use https://github.com/spotipy-dev/spotipy/tree/v3 and open a PR against it.
About the python support, it should be fair to only support >= 3.8 as 3.7 security support ends in June 2023 https://endoflife.date/python, so feel free to use f-strings.
Thanks for any contribution!
PS: that v3 branch is a bit out of sync with the main branch, as it needs a rebase which I have in progress. Just to let you know that conflicts may arise, but we will have all the time to fix them.
Glad to heart that. I'll start working and make a PR on the v3 branch soon!
After glancing over the codebase, I came across code blocks that could be refactored to make them more maintainable and easier to read. Also, some refactors can make the code more "Pythonic". and performant. I have a few ideas in mind and most of them are:-
Please let me know what Python version should be supported for these refactors and I'll get to work on it.