Merge branch 'master' of https://github.com/kriadmin/30-seconds-of-python-code
This commit is contained in:
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -17,17 +17,11 @@
|
||||
- [ ] New feature (non-breaking change which adds functionality)
|
||||
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
||||
|
||||
## [30 seconds of code backlog](https://github.com/Chalarangelo/30-seconds-of-code/)
|
||||
<!--- Provide a link to the method your trying to [ADD] or [UPDATE] in the Description above -->
|
||||
<!--- Add the prefix [UPDATE: `method.md`] or [ADD: `method.md`] to the Title & Desciption -->
|
||||
- [ ] I added the prefix [UPDATE: `method.md`] or [ADD: `method.md`]
|
||||
- [ ] I have referenced the `method` to the lodash backlog.
|
||||
|
||||
## Checklist:
|
||||
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
||||
- [ ] My code follows the code style of this project.
|
||||
- [ ] My change requires a change to the documentation.
|
||||
- [ ] I have updated the documentation accordingly.
|
||||
- [ ] I have updated the documentation accordingly. <!-- Check this only if you have updated tag_database and ran lint.py and readme.py in the scripts folder -->
|
||||
- [ ] I have checked that the changes are working properly
|
||||
- [ ] I have checked that there isn't any PR doing the same
|
||||
- [ ] I have read the **CONTRIBUTING** document.
|
||||
|
||||
@ -38,6 +38,8 @@ Here's what you can do to help:
|
||||
- It is not mandatory but highly appreciated if you provide **test cases** and/or performance tests.
|
||||
- You can start creating a new snippet, by using the [snippet template](snippet_template.md) to format your snippets.
|
||||
- Updating the README.md file should only be done by altering the scripts in the **scripts** folder or altering their relative static parts in the **static-parts** folder.
|
||||
- You may tag your snippet in tag_databse although it is _not_ necessary.
|
||||
- You may also run `scripts\lint.py` & `scripts\readme.py`.
|
||||
|
||||
<!--
|
||||
### Additional guidelines and conventions regarding snippets
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
### functionName
|
||||
### function_name
|
||||
|
||||
Describe briefly what the function does
|
||||
|
||||
Explain your method and the functions used.
|
||||
|
||||
``` python
|
||||
def functionName(args):
|
||||
def function_name(args):
|
||||
# code
|
||||
return 0
|
||||
```
|
||||
|
||||
``` python
|
||||
functionName(val) # result
|
||||
```
|
||||
function_name(val) # result
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user