-
-
Notifications
You must be signed in to change notification settings - Fork 314
Add CONTRIBUTION guide #205
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
Changes from all commits
8f248d1
373fdc7
ebbd19f
6daffde
b3ac508
d56cb32
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # Contribution to Coronavirus Tracker API | ||
|
|
||
| First off, thanks for taking the time to contribute! | ||
| Every commit supports the open source ecosystem in case of [COVID-19](https://en.wikipedia.org/wiki/2019%E2%80%9320_coronavirus_pandemic). | ||
|
|
||
| ## Testing | ||
|
|
||
| We have a handful of unit tests to cover most of functions. | ||
| Please write new test cases for new code you create. | ||
|
|
||
| ## Submitting changes | ||
|
|
||
| * If you're unable to find an open issue, [open a new one](https://github.com/ExpDev07/coronavirus-tracker-api/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible | ||
| * Open a new [GitHub Pull Request to coronavirus-tracker-api](https://github.com/ExpDev07/coronavirus-tracker-api/pulls) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). Include the relevant issue number if applicable. | ||
| * We will love you forever if you include unit tests. We can always use more test coverage | ||
|
|
||
| ## Your First Code Contribution | ||
|
|
||
| Unsure where to begin contributing to coronavirus-tracker-api ? You can start by looking through these issues labels: | ||
|
|
||
| * [Enhancement issues](https://github.com/ExpDev07/coronavirus-tracker-api/labels/enhancement) - issues for new feature or request | ||
| * [Help wanted issues](https://github.com/ExpDev07/coronavirus-tracker-api/labels/help%20wanted) - extra attention is needed | ||
| * [Documentation issues](https://github.com/ExpDev07/coronavirus-tracker-api/labels/documentation) - improvements or additions to documentation | ||
|
|
||
| ## Styleguide | ||
|
|
||
| Please follow [PEP8](https://www.python.org/dev/peps/pep-0008/) guide. | ||
| See [Running Test](./README.md#running-tests), [Linting](./README.md#linting) and [Formatting](./README.md#formatting) sections for further instructions to validate your change. | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add a step here about running the formatter?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for feedback. Added |
||
|
|
||
| We encourage you to pitch in and join the [Coronavirus Tracker API Team](https://github.com/ExpDev07/coronavirus-tracker-api#contributors-)! | ||
|
|
||
| Thanks! :heart: :heart: :heart: | ||
|
|
||
| [Coronavirus Tracker API Team](https://github.com/ExpDev07/coronavirus-tracker-api#contributors-) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,9 @@ bandit = "*" | |
| black = "==19.10b0" | ||
| isort = "*" | ||
| pytest = "*" | ||
| pytest-cov="*" | ||
| pylint = "*" | ||
| coveralls = "*" | ||
|
Comment on lines
+11
to
+13
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updates to the |
||
|
|
||
| [packages] | ||
| fastapi = "*" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this coveralls stuff should be a totally separate PR but...
You shouldn't use
pipenvinstall this dependency here.Pipfileso that it gets installed along with thedevdependenciespip install pipenv coveralls