Skip to content

Commit

Permalink
enh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed May 11, 2022
1 parent 2a91e5e commit 5929e5b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions requirements/tools/check_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,11 @@ def main_changes_stats() -> None:
before, after, counts, lib2reqs = parse_changes(filepath)

# format
print("## Changes to libraries (only updated libraries are included)")
print("### Highlights on updated libraries (only updated libraries are included)")
print()
print("- #packages before:", len(before))
print("- #packages after :", len(after))
print()
print("")

COLUMNS = ["#", "name", "before", "after", "upgrade", "count", "packages"]

Expand Down Expand Up @@ -173,6 +174,13 @@ def main_changes_stats() -> None:
"|",
)

print()
print("*Legend*: ")
print("- ⬆️ base dependency (only services because packages are floating)")
print("- 🧪 test dependency")
print("- 🔧 tool dependency")
print()


## Stats on installed packages (i.e. defined in txt files)
DEPENDENCY = re.compile(r"([\w_-]+)==([0-9\.-]+)")
Expand Down

0 comments on commit 5929e5b

Please sign in to comment.