deepjyoti30 / ytmdl

A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
https://ytmdl.deepjyoti30.dev
MIT License
3.22k stars 164 forks source link

Unstable #295

Closed Michael-wang98 closed 9 months ago

Michael-wang98 commented 9 months ago

Please follow the guide below


Before submitting a pull request make sure you have:

What is the purpose of your pull request?


Description of your pull request and other information

Assorted (non-code) grammatical and syntax fixes throughout the codebase to things like inline and block comments as well as the README and the help dialogue to clean up the non-code stuff. The main things implemented were:

Cleaned up the help dialogue (changed are mirrored in main.py and the README)

PS I did try linting with PyLama at the beginning and the end but it flags a ton of things even at baseline, its unclear which rules were even intended to be followed (and its hard to tell what linting flags are new) you might want to add a pylama config file in order to define how the code should be linted if a certain set of rules is intended

deepjyoti30 commented 9 months ago

@Michael-wang98 Thanks for the PR. I was surprised to see all the changes you made as it would have taken you some time to go through all the code and make all those changes, or did you use some tool to achieve this?

Anyhow, thanks for the PR, appreciate the effort!

Michael-wang98 commented 9 months ago

@deepjyoti30 I did just manually sift through the code, I know certain linters will automatically apply certain rules (E.G. ESLint for JS can automatically capitalize the first letter in every comment if you turn on that rule and run the linter) which would probably have sped things along (Pylama might do that but I didn't look into it because as noted there's a lot of stuff that Pylama flags even without changing anything) but I didn't initially anticipate that I'd look over so much of it. I initially just noticed the misspelled "usefull" in the help dialogue and the Windows section in the README which confused my friend when he tried to use it and then kinda confused me for a bit and then just randomly decided to start fixing comments.

This is a pretty nifty project you have here, keep up the good work