Skip to content

Commit

Permalink
Change PyPI URL Jinja to f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Aug 13, 2024
1 parent e42c36b commit d037674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grayskull/strategy/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def get_pypi_metadata(config: Configuration) -> dict:
"url": info.get("home_page"),
"license": info.get("license"),
"source": {
"url": config.url_pypi + "/packages/source/{{ name[0] }}/{{ name }}/"
"url": config.url_pypi + f"/packages/source/{config.name[0]}/{config.name}/"
f"{get_url_filename(metadata)}",
"sha256": get_sha256_from_pypi_metadata(metadata),
},
Expand Down

0 comments on commit d037674

Please sign in to comment.