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

Add coding conventions #21939

Merged
merged 3 commits into from
Aug 1, 2019
Merged

Add coding conventions #21939

merged 3 commits into from
Aug 1, 2019

Conversation

kylepw
Copy link
Contributor

@kylepw kylepw commented Jul 30, 2019

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • Improvement

Description of your pull request and other information

I added some coding conventions based on maintainers' reoccurring comments on pull requests. Issues included: inline values, collapsing fallbacks, and trailing parentheses. My hope is that these additions will save contributor's and maintainer's time.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
@kylepw
Copy link
Contributor Author

kylepw commented Jul 31, 2019

@dstftw Requested changes made. Let me know if this works.

CONTRIBUTING.md Outdated Show resolved Hide resolved
@dstftw dstftw merged commit 07f3a05 into ytdl-org:master Aug 1, 2019
pull bot referenced this pull request in XionZhao/youtube-dl Aug 1, 2019
@kylepw kylepw deleted the guidelines branch August 2, 2019 04:30
Lamieur referenced this pull request in Lamieur/youtube-dl Apr 20, 2020
Lamieur referenced this pull request in Lamieur/youtube-dl Apr 20, 2020
Lamieur referenced this pull request in Lamieur/youtube-dl Apr 20, 2020
Lamieur referenced this pull request in Lamieur/youtube-dl Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants