Skip to content

Commit 9c95bee

Browse files
committed
fix lint
1 parent fda4b75 commit 9c95bee

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

google/api_core/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@
3333
check_dependency_versions = _python_package_support.check_dependency_versions
3434
check_dependency_versions("google.api_core")
3535

36-
warn_deprecation_for_versions_less_than = _python_package_support.warn_deprecation_for_versions_less_than
36+
warn_deprecation_for_versions_less_than = (
37+
_python_package_support.warn_deprecation_for_versions_less_than
38+
)

tests/unit/test_python_version_support.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@ def test_override_gapic_end_only():
163163
{version_tuple: overridden_info},
164164
):
165165
result_before_boundary = check_python_version(
166-
today=custom_gapic_end + datetime.timedelta(days=-1))
167-
assert result_before_boundary == PythonVersionStatus.PYTHON_VERSION_DEPRECATED
166+
today=custom_gapic_end + datetime.timedelta(days=-1)
167+
)
168+
assert (
169+
result_before_boundary == PythonVersionStatus.PYTHON_VERSION_DEPRECATED
170+
)
168171

169172
result_at_boundary = check_python_version(today=custom_gapic_end)
170173
assert result_at_boundary == PythonVersionStatus.PYTHON_VERSION_EOL

0 commit comments

Comments
 (0)