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

sublist: add parameters to exercise placeholder #692

Merged
merged 2 commits into from
Oct 7, 2017
Merged

sublist: add parameters to exercise placeholder #692

merged 2 commits into from
Oct 7, 2017

Conversation

anunciado
Copy link
Contributor

Added the firstList and secondList parameters to the abbreviate method to ensure clarity to future users. This change was discussed in issue #509.

Fixes #643

Copy link
Contributor

@ilya-khadykin ilya-khadykin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating the PR

Please see my comment below

@@ -1,2 +1,2 @@
def check_lists():
def check_lists(firstList, secondList):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python favors snake_case over CamelCase.
A good Python style guide from Google - https://google.github.io/styleguide/pyguide.html?showone=Naming#Naming

Could you please change it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for this, I just started to using Python and I've never seen this guide before. So i just have to change firstList to first_list and secondList to second_list. Thanks for the guide.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cruxiu you're welcome

@anunciado
Copy link
Contributor Author

The Travis CI build hasn't yet completed his execution, so i need to close this PR, then open it again for trigger a new build?

@ilya-khadykin ilya-khadykin merged commit 28fec89 into exercism:master Oct 7, 2017
@ilya-khadykin
Copy link
Contributor

@cruxiu there is no need, it takes some time.

Congrats on your first contribution to the repo

It's a best practice to squash your commits https://github.com/exercism/docs/blob/master/contributing/git-basics.md#squashing. It isn't a big deal since I can do it myself, but it would be awesome to just click on 'Merge pull request' button 😃

Please also note that there are some special 'closing issue' keywords that you can put in description of your PR and Github will take care of closing the corresponding issue automatically after merge.
It makes our work much easier. I hope this hint will help you to make your future PRs a bit better

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