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

PEP8/cleanup. #29

Merged
merged 1 commit into from Mar 31, 2015
Merged

PEP8/cleanup. #29

merged 1 commit into from Mar 31, 2015

Conversation

ralphbean
Copy link
Contributor

Gets rid of lots of linter warnings that made development less fun.

@@ -271,7 +264,7 @@ def pulls(self, irc, msg, args, slug):

try:
results = sum([
list(self.yield_github_pulls(username, repo)) for repo in repos
list(self.yield_github_pulls(username, r)) for r in repos
Copy link
Member

Choose a reason for hiding this comment

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

I would expect pep8 to like better the old variable name (or maybe it's pylint that complains about this)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it is that repo here is redefining a variable that is used in a preceding line.

@pypingou
Copy link
Member

Ok pour moi 👍

ralphbean added a commit that referenced this pull request Mar 31, 2015
@ralphbean ralphbean merged commit 62fcc31 into develop Mar 31, 2015
@ralphbean ralphbean deleted the feature/cleanup branch March 31, 2015 17:31
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.

None yet

2 participants