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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Issues = "https://github.com/ShigureLab/gh-llm/issues"
gh-llm = "gh_llm.__main__:main"

[dependency-groups]
dev = ["ty>=0.0.59", "ruff>=0.15.21", "pytest>=9.1.1", "pytest-rerunfailures>=16.4"]
dev = ["ty>=0.0.63", "ruff>=0.16.0", "pytest>=9.1.1", "pytest-rerunfailures>=16.4"]

[tool.ruff]
line-length = 120
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 @@ -1757,7 +1757,7 @@ def _find_direct_pull_request_template_via_listing(
candidates.append(candidate_path)
if not candidates:
return None
return sorted(candidates, key=str.casefold)[0]
return min(candidates, key=str.casefold)

def _list_pull_request_template_directories(
self,
Expand Down
Loading