Skip to content

Commit a18bc9d

Browse files
author
Jon Wayne Parrott
authored
Add more storage samples for the cloud client libraries. (#432)
1 parent 5af5b09 commit a18bc9d

File tree

6 files changed

+428
-175
lines changed

6 files changed

+428
-175
lines changed

nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def session_lint(session):
245245
"""Lints each sample."""
246246
session.install('flake8', 'flake8-import-order')
247247
session.run(
248-
'flake8', '--builtin=gettext', '--max-complexity=10',
248+
'flake8', '--builtin=gettext', '--max-complexity=15',
249249
'--import-order-style=google',
250250
'--exclude',
251251
'container_engine/django_tutorial/polls/migrations/*,.nox,.cache,env,'

storage/cloud-client/encryption_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_upload_encrypted_blob(cloud_config):
4646
def test_blob(cloud_config):
4747
"""Provides a pre-existing blob in the test bucket."""
4848
bucket = storage.Client().bucket(cloud_config.storage_bucket)
49-
blob = bucket.blob('encrption_test_sigil')
49+
blob = bucket.blob('encryption_test_sigil')
5050
content = 'Hello, is it me you\'re looking for?'
5151
blob.upload_from_string(
5252
content,

storage/cloud-client/manage_blobs.py

Lines changed: 0 additions & 113 deletions
This file was deleted.

storage/cloud-client/manage_blobs_test.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)