From 565fcd19b3738155139342994d41378152a54aea Mon Sep 17 00:00:00 2001 From: Joe Wang Date: Thu, 8 Feb 2024 14:47:00 -0500 Subject: [PATCH] chore: format python code --- library_generation/setup.py | 33 ++++++++++---------- library_generation/test/integration_tests.py | 2 +- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/library_generation/setup.py b/library_generation/setup.py index 132cee48f0..c8b3418cf4 100644 --- a/library_generation/setup.py +++ b/library_generation/setup.py @@ -4,20 +4,21 @@ from setuptools import setup -setup(name='library_generation', - version='0.1', - package_dir={ - 'library_generation': '.', - }, - package_data={ - 'library_generation': [ - '*.sh', - 'templates/*.j2', - 'gapic-generator-java-wrapper', - 'requirements.*', - 'owlbot/src/requirements.*', - 'owlbot/bin/*.sh', - 'owlbot/templates/**/*.j2', - ], - } +setup( + name="library_generation", + version="0.1", + package_dir={ + "library_generation": ".", + }, + package_data={ + "library_generation": [ + "*.sh", + "templates/*.j2", + "gapic-generator-java-wrapper", + "requirements.*", + "owlbot/src/requirements.*", + "owlbot/bin/*.sh", + "owlbot/templates/**/*.j2", + ], + }, ) diff --git a/library_generation/test/integration_tests.py b/library_generation/test/integration_tests.py index 55f9b88658..2380e15452 100644 --- a/library_generation/test/integration_tests.py +++ b/library_generation/test/integration_tests.py @@ -108,7 +108,7 @@ def test_generate_repo(self): @classmethod def __pull_repo_to(cls, dest: Path, repo: str, committish: str): repo_url = f"{repo_prefix}/{repo}" - print(f'Cloning repository {repo_url}') + print(f"Cloning repository {repo_url}") repo = Repo.clone_from(repo_url, dest) repo.git.checkout(committish)