Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Auto-format: ruff format
  • Loading branch information
github-actions[bot] committed Mar 1, 2026
commit 44ab598f3becf14634202beeeb6232bf0f408d91
5 changes: 2 additions & 3 deletions scripts/update_lib/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,8 +1135,7 @@ def _bulk_last_updated() -> dict[str, str]:
file_map: dict[str, str] = {}
try:
result = subprocess.run(
["git", "log", "--format=%cd", "--date=short", "--name-only", "--",
"Lib/"],
["git", "log", "--format=%cd", "--date=short", "--name-only", "--", "Lib/"],
capture_output=True,
text=True,
timeout=30,
Expand Down Expand Up @@ -1191,7 +1190,7 @@ def _lookup_last_updated(paths: list[str], lib_prefix: str) -> str | None:
# e.g. "Lib/test/test_os.py" -> "test/test_os.py"
# "../Lib/re" -> "re"
if p_norm.startswith(prefix):
key = p_norm[len(prefix):]
key = p_norm[len(prefix) :]
else:
key = p_norm
date = cache.get(key)
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Expand Down
Loading