Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ gh-llm = "gh_llm.__main__:main"

[dependency-groups]
dev = [
"ty>=0.0.32",
"ruff>=0.14.10",
"pytest>=9.0.2",
"ty>=0.0.35",
"ruff>=0.15.12",
"pytest>=9.0.3",
"pytest-rerunfailures>=16.1",
]

Expand Down
2 changes: 1 addition & 1 deletion src/gh_llm/commands/pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def cmd_pr_review_submit(args: Any) -> int:
review_id, review_state = client.submit_pull_request_review(
ref=meta.ref,
event=str(args.event),
body=body if body else None,
body=body or None,
)
print(f"review: {review_id}")
if review_state:
Expand Down
2 changes: 1 addition & 1 deletion src/gh_llm/github_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,7 @@ def _decode_repository_contents_text(payload: dict[str, object]) -> str | None:
normalized = content.replace("\n", "")
try:
return base64.b64decode(normalized, validate=False).decode("utf-8", errors="replace")
except (binascii.Error, ValueError):
except binascii.Error, ValueError:
return None


Expand Down
Loading