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

Add more storage samples for the cloud client libraries. #432

Merged
merged 4 commits into from
Jul 29, 2016
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def session_lint(session):
"""Lints each sample."""
session.install('flake8', 'flake8-import-order')
session.run(
'flake8', '--builtin=gettext', '--max-complexity=10',
'flake8', '--builtin=gettext', '--max-complexity=15',
Copy link
Contributor

Choose a reason for hiding this comment

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

Way to make things more complicated, Jon.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tumblr_inline_nzb6a3hkjg1rp5ay0_500

(it's actually the large switch statement if __main__ that it doesn't like)

Copy link
Contributor

Choose a reason for hiding this comment

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

LOL

'--import-order-style=google',
'--exclude',
'container_engine/django_tutorial/polls/migrations/*,.nox,.cache,env,'
Expand Down
2 changes: 1 addition & 1 deletion storage/cloud-client/encryption_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_upload_encrypted_blob(cloud_config):
def test_blob(cloud_config):
"""Provides a pre-existing blob in the test bucket."""
bucket = storage.Client().bucket(cloud_config.storage_bucket)
blob = bucket.blob('encrption_test_sigil')
blob = bucket.blob('encryption_test_sigil')
content = 'Hello, is it me you\'re looking for?'
blob.upload_from_string(
content,
Expand Down
113 changes: 0 additions & 113 deletions storage/cloud-client/manage_blobs.py

This file was deleted.

60 changes: 0 additions & 60 deletions storage/cloud-client/manage_blobs_test.py

This file was deleted.

Loading