diff --git a/.gitignore b/.gitignore index 1d0cbed73..794fc3eee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ __pycache__/ .vscode +*.iml +.idea/codeStyles/Project.xml +*.xml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 565f60ef4..a43d2dcfa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ Here's what you can do to help: - Be part of the discussion by helping out with [existing issues](https://github.com/kriadmin/30-seconds-of-python-code/issues) or talking on our [gitter channel](https://gitter.im/30-seconds-of-python-code/Lobby). - Submit [pull requests](https://github.com/kriadmin/30-seconds-of-python-code/pulls) with snippets you have created (see below for guidelines). - Fix typos in existing snippets, improve snippet descriptions and explanations or provide better examples. -- Before submitting a PR for any new snippets go through [this](https://github.com/kriadmin/30-seconds-of-python-code/projects/1) project. If your snippet is not there, then go ahead and submit a PR. Else if it is in the done column, sorry it has been already implemented.If it is in any other column submit a PR and give the card's link in the description section of PR. +- Before submitting a PR for any new snippets go through [this](https://github.com/kriadmin/30-seconds-of-python-code/projects/1) project. If your snippet is not there, then go ahead and submit a PR. Else if it is in the done column, sorry it has been already implemented. If it is in any other column submit a PR and give the card's link in the description section of PR. - **Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github) ### Snippet submission and Pull request guidelines diff --git a/snippets/capitalize.md b/snippets/capitalize.md index 61f1b3294..b685afc5c 100644 --- a/snippets/capitalize.md +++ b/snippets/capitalize.md @@ -2,7 +2,7 @@ Capitalizes the first letter of a string. -Capitalizes the fist letter of the sring and then adds it with rest of the string. Omit the `lower_rest` parameter to keep the rest of the string intact, or set it to `true` to convert to lowercase. +Capitalizes the first letter of the string and then adds it with rest of the string. Omit the `lower_rest` parameter to keep the rest of the string intact, or set it to `true` to convert to lowercase. ```python def capitalize(string, lower_rest=False): diff --git a/snippets/capitalize_every_word.md b/snippets/capitalize_every_word.md index ba0c8f273..86f5c3a5f 100644 --- a/snippets/capitalize_every_word.md +++ b/snippets/capitalize_every_word.md @@ -2,7 +2,7 @@ Capitalizes the first letter of every word in a string. -Uses `str.title` to capitalize first letter of evry word in the string. +Uses `str.title` to capitalize first letter of every word in the string. ```python def capitalize_every_word(string): diff --git a/snippets/decapitalize.md b/snippets/decapitalize.md index 9667c5ccf..9f40f22ef 100644 --- a/snippets/decapitalize.md +++ b/snippets/decapitalize.md @@ -2,7 +2,7 @@ Decapitalizes the first letter of a string. -Decapitalizes the fist letter of the sring and then adds it with rest of the string. Omit the `upper_rest` parameter to keep the rest of the string intact, or set it to `true` to convert to uppercase. +Decapitalizes the first letter of the string and then adds it with rest of the string. Omit the `upper_rest` parameter to keep the rest of the string intact, or set it to `true` to convert to uppercase. ```python def decapitalize(string, upper_rest=False):