Skip to content

Commit a5b42c2

Browse files
committed
fix lint issue
1 parent 099d7c5 commit a5b42c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dlp/inspect_content.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ def inspect_gcs_file(project, bucket, filename, topic_id, subscription_id,
192192
None; the response from the API is printed to the terminal.
193193
"""
194194

195-
196195
# Import the client library.
197196
import google.cloud.dlp
198197

dlp/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def list_info_types(language_code=None, result_filter=None):
2525
"""List types of sensitive information within a category.
2626
Args:
2727
language_code: The BCP-47 language code to use, e.g. 'en-US'.
28-
filter: An optional filter to only return info types supported by
28+
filter: An optional filter to only return info types supported by
2929
certain parts of the API. Defaults to "supported_by=INSPECT".
3030
Returns:
3131
None; the response from the API is printed to the terminal.

dlp/quickstart_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import mock
1615
import os
1716

1817
import google.cloud.dlp
18+
import mock
1919

2020
import quickstart
2121

2222

2323
GCLOUD_PROJECT = os.getenv('GCLOUD_PROJECT')
2424

25+
2526
def test_quickstart(capsys):
2627
# Mock out project_path to use the test runner's project ID.
2728
with mock.patch.object(

0 commit comments

Comments
 (0)