Skip to content

Commit

Permalink
chore: format python code (#2452)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 authored Feb 8, 2024
1 parent 2f5a5c8 commit 7345a34
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
33 changes: 17 additions & 16 deletions library_generation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
},
)
2 changes: 1 addition & 1 deletion library_generation/test/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7345a34

Please sign in to comment.