Skip to content

Commit 53e0d32

Browse files
committed
fix lint
1 parent 7c8b94e commit 53e0d32

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/google-api-core/google/api_core/path_template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525

2626
from __future__ import unicode_literals
2727

28-
from collections import deque
2928
import copy
3029
import functools
3130
import re
3231
import urllib.parse
32+
from collections import deque
3333

3434
# Regular expression for extracting variable parts from a path template.
3535
# The variables can be expressed as:
@@ -240,7 +240,7 @@ def _extract_and_validate_wildcards(
240240
if not _validate_multi_segment_value(captured_val):
241241
raise err
242242
else:
243-
# For values that don't match the pattern, ensure the value doesn't
243+
# For values that don't match the pattern, ensure the value doesn't
244244
# resolve to 0 segments (e.g. "projects/..").
245245
if val and not _validate_multi_segment_value(val):
246246
raise err

packages/google-api-core/tests/unit/test_path_template.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
# limitations under the License.
1414

1515
from __future__ import unicode_literals
16+
1617
from unittest import mock
1718

1819
import pytest
19-
2020
from google.api import auth_pb2
21+
2122
from google.api_core import path_template
2223

2324

0 commit comments

Comments
 (0)