Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 20, 2024
1 parent 66d1ece commit 10ceb23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pypi_data/combine_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def log_system_stats(path: Path):
mem = psutil.virtual_memory()
log.info(
f"System: cpu={cpu_usage} "
f"process_mem_percent={process_mem_percent}% "
f"process_mem_percent={process_mem_percent:1.f}% "
f"mem={ByteSize(mem.total).human_readable(decimal=True)} "
f"mem_used={ByteSize(mem.used).human_readable(decimal=True)} "
f"mem_percent={mem.percent}%"
Expand All @@ -61,7 +61,7 @@ def log_system_stats(path: Path):
f"total={ByteSize(disk_usage.total).human_readable(decimal=True)} "
f"used={ByteSize(disk_usage.used).human_readable(decimal=True)} "
f"free={ByteSize(disk_usage.free).human_readable(decimal=True)} "
f"percent={disk_usage.percent}%"
f"percent={disk_usage.percent:1.f}%"
)


Expand Down

0 comments on commit 10ceb23

Please sign in to comment.