Skip to content

Commit

Permalink
style: format code with Black
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in d6f6e76 according to the output
from Black.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Dec 10, 2023
1 parent d6f6e76 commit 20e1d1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lastversion/lastversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,7 @@ def latest(
if rpmspec_licence:
release["rpmspec_license"] = rpmspec_licence

release["source_url"] = project.release_download_url(
release, short_urls
)
release["source_url"] = project.release_download_url(release, short_urls)

return release

Expand Down
2 changes: 1 addition & 1 deletion tests/test_hg.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ def test_hg_nginx_source_url():

result = latest(repo, "source", major="1.18.0")

assert result == 'https://nginx.org/download/nginx-1.18.0.tar.gz'
assert result == "https://nginx.org/download/nginx-1.18.0.tar.gz"

0 comments on commit 20e1d1f

Please sign in to comment.