Skip to content

Fix PEP8 Warnings and Pass Tests with Riak 2.1.1#407

Merged
borshop merged 4 commits into
masterfrom
feature/bch/cleanup-pep8
Jul 20, 2015
Merged

Fix PEP8 Warnings and Pass Tests with Riak 2.1.1#407
borshop merged 4 commits into
masterfrom
feature/bch/cleanup-pep8

Conversation

@hazen
Copy link
Copy Markdown

@hazen hazen commented Jul 14, 2015

The PEP8 specification has been radically updated over the past few months which now includes the location of imports and the use of anonymous functions. The Python client needed to be reorganized to pass the lint test. Because all of the imports need to be at the top of the file, a few classes needed to be pulled into their own files to help the changed order of import dependencies.

Also now in Riak 2.1.1 two tests were modified to aid in passing:

  • test_too_many_link_headers_shouldnt_break_http reduced the number of test links to 300 from 400
  • test_index_timeout always has had flappy behavior since it's a timeout race condition. Needs to be removed or improved

Brett Hazen and others added 4 commits June 15, 2015 13:50
- Limit links in test_index_timeout
- Reduce the number of links in test_too_many_link_headers_shouldnt_break_http
@christophermancini
Copy link
Copy Markdown

Tests pass and code looks good.

@christophermancini
Copy link
Copy Markdown

👍 aee07d1

borshop added a commit that referenced this pull request Jul 20, 2015
Fix PEP8 Warnings and Pass Tests with Riak 2.1.1

Reviewed-by: christophermancini
@hazen
Copy link
Copy Markdown
Author

hazen commented Jul 20, 2015

@borshop merge

@borshop borshop merged commit aee07d1 into master Jul 20, 2015
@hazen hazen deleted the feature/bch/cleanup-pep8 branch July 20, 2015 20:36
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.

3 participants