Run black
Change-Id: I58a49dd9c25f81d6835339663abe9560b6341443
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/226738
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/recipe_modules/bazel/api.py b/recipe_modules/bazel/api.py
index cd1f049..3f8f9bc 100644
--- a/recipe_modules/bazel/api.py
+++ b/recipe_modules/bazel/api.py
@@ -411,8 +411,8 @@
for line in nearby_lines:
if match := re.search(
- r'^\s*(?:module_)?name\s*=\s*"(?P<name>[^"]+)",?\s*$', line.
- text or '',
+ r'^\s*(?:module_)?name\s*=\s*"(?P<name>[^"]+)",?\s*$',
+ line.text or '',
):
project_names.append(match.group('name'))
break
diff --git a/recipes/gerrit_auto_submit.py b/recipes/gerrit_auto_submit.py
index 89a51bd..dc6a48a 100644
--- a/recipes/gerrit_auto_submit.py
+++ b/recipes/gerrit_auto_submit.py
@@ -35,9 +35,7 @@
def GenTests(api) -> Generator[recipe_test_api.TestData, None, None]:
yield (
api.test('default')
- + api.gerrit_auto_submit.options(
- api.gerrit_auto_submit.host_config()
- )
+ + api.gerrit_auto_submit.options(api.gerrit_auto_submit.host_config())
+ api.gerrit_auto_submit.changes_query_test_data()
+ api.gerrit_auto_submit.changes_submitted_together_test_data()
+ api.gerrit_auto_submit.mergeable_test_data()