Skip to content

Commit 44ab598

Browse files
Auto-format: ruff format
1 parent 93b6834 commit 44ab598

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/update_lib/deps.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,8 +1135,7 @@ def _bulk_last_updated() -> dict[str, str]:
11351135
file_map: dict[str, str] = {}
11361136
try:
11371137
result = subprocess.run(
1138-
["git", "log", "--format=%cd", "--date=short", "--name-only", "--",
1139-
"Lib/"],
1138+
["git", "log", "--format=%cd", "--date=short", "--name-only", "--", "Lib/"],
11401139
capture_output=True,
11411140
text=True,
11421141
timeout=30,
@@ -1191,7 +1190,7 @@ def _lookup_last_updated(paths: list[str], lib_prefix: str) -> str | None:
11911190
# e.g. "Lib/test/test_os.py" -> "test/test_os.py"
11921191
# "../Lib/re" -> "re"
11931192
if p_norm.startswith(prefix):
1194-
key = p_norm[len(prefix):]
1193+
key = p_norm[len(prefix) :]
11951194
else:
11961195
key = p_norm
11971196
date = cache.get(key)

0 commit comments

Comments
 (0)