Skip to content

Commit c3b1e81

Browse files
committed
pre-commit run -a
1 parent 3a967f1 commit c3b1e81

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

images/analytics-publisher/indexer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def index_events(project, bucket, debug=False, dry_run=False):
4646
with tempfile.TemporaryFile(mode="w+") as htmlfile, tempfile.TemporaryFile(
4747
mode="w+"
4848
) as jsonlfile:
49-
5049
html_index = html_template.render(
5150
archives=sorted(
5251
archives, key=lambda archive: archive["date"], reverse=True

images/federation-redirect/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def rendezvous_rank(buckets, key):
117117
all buckets, sorted in decreasing order (highest ranked first).
118118
"""
119119
ranking = []
120-
for (bucket, weight) in buckets:
120+
for bucket, weight in buckets:
121121
# The particular hash function doesn't matter a lot, as long as it is
122122
# one that maps the key to a fixed sized value and distributes the keys
123123
# uniformly across the output space

scripts/delete-old-images.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ async def bounded(f, *args, **kwargs):
166166
auth=aiohttp.BasicAuth("_json_key", password),
167167
connector=aiohttp.TCPConnector(limit=2 * concurrency),
168168
) as session:
169-
170169
print("Fetching images")
171170
tag_futures = []
172171
matches = 0

0 commit comments

Comments
 (0)