This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6796b94518 Fix small formatting changes from old version of Ruff
(#35314)
6796b94518 is described below
commit 6796b94518ad819dcaf93fd91a30a075768aa00b
Author: Julian LaNeve <[email protected]>
AuthorDate: Tue Oct 31 22:05:53 2023 -0400
Fix small formatting changes from old version of Ruff (#35314)
---
tests/providers/amazon/aws/utils/eks_test_constants.py | 12 ++++++------
tests/providers/google/cloud/hooks/test_datacatalog.py | 6 +++---
tests/providers/google/cloud/operators/test_datacatalog.py | 12 ++++++------
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/tests/providers/amazon/aws/utils/eks_test_constants.py
b/tests/providers/amazon/aws/utils/eks_test_constants.py
index 3d284a40cd..63ff4cca5d 100644
--- a/tests/providers/amazon/aws/utils/eks_test_constants.py
+++ b/tests/providers/amazon/aws/utils/eks_test_constants.py
@@ -189,12 +189,12 @@ class PageCount:
LARGE: int = 10
-FARGATE_PROFILE_UUID_PATTERN: (
- str
-) =
r"(?P<fargate_uuid>[-0-9a-z]{8}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{12})"
-NODEGROUP_UUID_PATTERN: (
- str
-) =
r"(?P<nodegroup_uuid>[-0-9a-z]{8}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{12})"
+FARGATE_PROFILE_UUID_PATTERN: str = (
+
r"(?P<fargate_uuid>[-0-9a-z]{8}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{12})"
+)
+NODEGROUP_UUID_PATTERN: str = (
+
r"(?P<nodegroup_uuid>[-0-9a-z]{8}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{4}-[-0-9a-z]{12})"
+)
class RegExTemplates:
diff --git a/tests/providers/google/cloud/hooks/test_datacatalog.py
b/tests/providers/google/cloud/hooks/test_datacatalog.py
index 5dc65aba50..c97cef7c4a 100644
--- a/tests/providers/google/cloud/hooks/test_datacatalog.py
+++ b/tests/providers/google/cloud/hooks/test_datacatalog.py
@@ -65,9 +65,9 @@ TEST_PARENT: str = "test-parent"
TEST_NAME: str = "test-name"
TEST_TAG_ID: str = "test-tag-id"
TEST_LOCATION_PATH: str = f"projects/{{}}/locations/{TEST_LOCATION}"
-TEST_ENTRY_PATH: (
- str
-) =
f"projects/{{}}/locations/{TEST_LOCATION}/entryGroups/{TEST_ENTRY_GROUP_ID}/entries/{TEST_ENTRY_ID}"
+TEST_ENTRY_PATH: str = (
+
f"projects/{{}}/locations/{TEST_LOCATION}/entryGroups/{TEST_ENTRY_GROUP_ID}/entries/{TEST_ENTRY_ID}"
+)
TEST_ENTRY_GROUP_PATH: str =
f"projects/{{}}/locations/{TEST_LOCATION}/entryGroups/{TEST_ENTRY_GROUP_ID}"
TEST_TAG_TEMPLATE_PATH: str =
f"projects/{{}}/locations/{TEST_LOCATION}/tagTemplates/{TEST_TAG_TEMPLATE_ID}"
TEST_TAG_TEMPLATE_FIELD_PATH: str = (
diff --git a/tests/providers/google/cloud/operators/test_datacatalog.py
b/tests/providers/google/cloud/operators/test_datacatalog.py
index 71b6420b1c..4247831933 100644
--- a/tests/providers/google/cloud/operators/test_datacatalog.py
+++ b/tests/providers/google/cloud/operators/test_datacatalog.py
@@ -81,12 +81,12 @@ TEST_ENTRY_PATH: str = (
f"projects/{TEST_PROJECT_ID}/locations/{TEST_LOCATION}"
f"/entryGroups/{TEST_ENTRY_GROUP_ID}/entries/{TEST_ENTRY_ID}"
)
-TEST_ENTRY_GROUP_PATH: (
- str
-) =
f"projects/{TEST_PROJECT_ID}/locations/{TEST_LOCATION}/entryGroups/{TEST_ENTRY_GROUP_ID}"
-TEST_TAG_TEMPLATE_PATH: (
- str
-) =
f"projects/{TEST_PROJECT_ID}/locations/{TEST_LOCATION}/tagTemplates/{TEST_TAG_TEMPLATE_ID}"
+TEST_ENTRY_GROUP_PATH: str = (
+
f"projects/{TEST_PROJECT_ID}/locations/{TEST_LOCATION}/entryGroups/{TEST_ENTRY_GROUP_ID}"
+)
+TEST_TAG_TEMPLATE_PATH: str = (
+
f"projects/{TEST_PROJECT_ID}/locations/{TEST_LOCATION}/tagTemplates/{TEST_TAG_TEMPLATE_ID}"
+)
TEST_TAG_PATH: str = (
f"projects/{TEST_PROJECT_ID}/locations/{TEST_LOCATION}/entryGroups/"
f"{TEST_ENTRY_GROUP_ID}/entries/{TEST_ENTRY_ID}/tags/{TEST_TAG_ID}"