Skip to content

Commit

Permalink
Improve formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Aug 29, 2024
1 parent 4aeb2f5 commit 15c2c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/check_conda_nightly_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def check_env(json_path):
)
for package, date in sorted(old_packages.items()):
date_string = date.strftime("%Y-%m-%d")
print(f"{FAIL} - {package}: {date_string}{ENDC}")
print(f"{FAIL} - {(package + ':'):<24}\t{date_string}{ENDC}")

# If there are undated packages, show an error
undated_packages = {
Expand All @@ -134,7 +134,7 @@ def check_env(json_path):
continue
date_string = date.strftime("%Y-%m-%d")
status = WARNING if date < today else OKGREEN
print(f"{status} - {package}: {date_string}{ENDC}")
print(f"{status} - {(package + ':'):<24}\t{date_string}{ENDC}")

return exit_code

Expand Down

0 comments on commit 15c2c9d

Please sign in to comment.