diff --git a/.coveragerc b/.coveragerc index 129acfc..87dab9d 100644 --- a/.coveragerc +++ b/.coveragerc @@ -5,3 +5,4 @@ directory = coverage_html_report show_missing = True omit = tasks* + cli.py diff --git a/cli.py b/cli.py index fac48a2..7c0921b 100644 --- a/cli.py +++ b/cli.py @@ -4,7 +4,6 @@ from rich import print import httpx import os - def main(): if not os.environ.get("GITHUB_TOKEN"): raise Exception("Please set GITHUB_TOKEN") @@ -17,7 +16,5 @@ def main(): except httpx.HTTPStatusError as e: print(e) - - if __name__ == "__main__": main()