Skip to content

Commit aa1e793

Browse files
Auto-format: ruff format
1 parent f36614a commit aa1e793

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
@@ -1122,8 +1122,7 @@ def _bulk_last_updated() -> dict[str, str]:
11221122
file_map: dict[str, str] = {}
11231123
try:
11241124
result = subprocess.run(
1125-
["git", "log", "--format=%cd", "--date=short", "--name-only", "--",
1126-
"Lib/"],
1125+
["git", "log", "--format=%cd", "--date=short", "--name-only", "--", "Lib/"],
11271126
capture_output=True,
11281127
text=True,
11291128
timeout=30,
@@ -1177,7 +1176,7 @@ def _lookup_last_updated(paths: list[str], lib_prefix: str) -> str | None:
11771176
# e.g. "Lib/test/test_os.py" -> "test/test_os.py"
11781177
# "../Lib/re" -> "re"
11791178
if p.startswith(prefix):
1180-
key = p[len(prefix):]
1179+
key = p[len(prefix) :]
11811180
else:
11821181
key = p
11831182
date = cache.get(key)

0 commit comments

Comments
 (0)