Skip to content

Commit

Permalink
chore: some lint fixes [(#3744)](GoogleCloudPlatform/python-docs-samp…
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo authored May 12, 2020
1 parent 25a1337 commit bfce47e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion samples/snippets/inspect_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from __future__ import print_function

import argparse
import os
import json
import os


# [START dlp_inspect_string]
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

from __future__ import print_function

import sys
import argparse
import sys


def quickstart(project_id):
Expand Down
4 changes: 3 additions & 1 deletion samples/snippets/risk_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
import os
import uuid

import google.cloud.pubsub
import google.cloud.bigquery
import google.cloud.pubsub
import pytest

import risk


UNIQUE_STRING = str(uuid.uuid4()).split("-")[0]
GCLOUD_PROJECT = os.environ.get("GCLOUD_PROJECT")
TABLE_PROJECT = os.environ.get("GCLOUD_PROJECT")
Expand All @@ -35,6 +36,7 @@
BIGQUERY_TABLE_ID = "dlp_test_table" + UNIQUE_STRING
BIGQUERY_HARMFUL_TABLE_ID = "harmful" + UNIQUE_STRING


# Create new custom topic/subscription
@pytest.fixture(scope="module")
def topic_id():
Expand Down

0 comments on commit bfce47e

Please sign in to comment.