Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a18bc9d

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

File tree

Expand file treeCollapse file tree

6 files changed

+428
-175
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+428
-175
lines changed

‎nox.py

Copy file name to clipboardExpand all lines: nox.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: storage/cloud-client/encryption_test.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: storage/cloud-client/manage_blobs.py
-113Lines changed: 0 additions & 113 deletions
This file was deleted.

‎storage/cloud-client/manage_blobs_test.py

Copy file name to clipboardExpand all lines: storage/cloud-client/manage_blobs_test.py
-60Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.