Skip to content

Commit 1001e52

Browse files
Fix linting issues: remove trailing whitespace
Co-authored-by: Jay Hack <jay@codegen.com>
1 parent 750f289 commit 1001e52

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ty.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
src_files+=("${file}")
5050
fi
5151
done
52-
52+
5353
# Only run type checking if there are source files to check
5454
if [ ${#src_files[@]} -gt 0 ]; then
5555
echo "Running ty on source files: ${src_files[*]}"

src/codegen/git/repo_operator/local_git_repo.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,28 +82,28 @@ def get_language(self, access_token: str | None = None) -> str:
8282

8383
def has_remote(self) -> bool:
8484
return bool(self.git_cli.remotes)
85-
85+
8686
def add_remote(self, name: str, url: str) -> None:
8787
"""Add a new remote to the repository.
88-
88+
8989
Args:
9090
name: The name of the remote
9191
url: The URL of the remote
9292
"""
9393
self.git_cli.create_remote(name, url)
94-
94+
9595
def fetch_remote(self, remote_name: str) -> None:
9696
"""Fetch from a remote.
97-
97+
9898
Args:
9999
remote_name: The name of the remote to fetch from
100100
"""
101101
remote = self.git_cli.remote(remote_name)
102102
remote.fetch()
103-
103+
104104
def checkout_branch(self, ref: str, branch_name: str) -> None:
105105
"""Checkout a branch, creating it if it doesn't exist.
106-
106+
107107
Args:
108108
ref: The reference to checkout from (e.g., 'origin/main')
109109
branch_name: The name of the branch to create or checkout

0 commit comments

Comments
 (0)