Skip to content

Commit

Permalink
🎨 Format Python code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and github-actions[bot] committed Sep 18, 2024
1 parent 6070fed commit 1b5cbbc
Show file tree
Hide file tree
Showing 5 changed files with 810 additions and 160 deletions.
2 changes: 2 additions & 0 deletions check_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sys
import requests


def check_version(package, version):
"""
Retrieves metadata from PyPI and checks if a specified package has released
Expand Down Expand Up @@ -30,6 +31,7 @@ def check_version(package, version):
return True
return False


if __name__ == "__main__":
if len(sys.argv) != 3:
print("Usage: python check_version.py <package> <version>")
Expand Down
Loading

0 comments on commit 1b5cbbc

Please sign in to comment.