Skip to content

Commit

Permalink
fix: check repo url assertion changed
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairshakoorarbisoft committed Jan 2, 2024
1 parent 4f9268c commit 6f45997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo_health/check_setup_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def check_repo_url(setup_py, setup_cfg, all_results):
cfg_urls = re.findall(r"""(?m)^url\s*=\s*(\S+)""", setup_cfg)
urls = py_urls + cfg_urls
if urls:
assert len(urls) == 1
assert len(urls) > 0
all_results[module_dict_key]["repo_url"] = urls[0]


Expand Down

0 comments on commit 6f45997

Please sign in to comment.