Skip to content

Commit

Permalink
chore: Use lowercase PyPI URL
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed May 21, 2021
1 parent 4264aec commit 68db734
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Install it, or use the Hosted Weblate service at `weblate.org`_.
:alt: CII Best Practices
:target: https://bestpractices.coreinfrastructure.org/projects/552

.. image:: https://img.shields.io/pypi/v/Weblate.svg
:target: https://pypi.org/project/Weblate/
.. image:: https://img.shields.io/pypi/v/weblate.svg
:target: https://pypi.org/project/weblate/

.. image:: https://readthedocs.org/projects/weblate/badge/
:target: https://docs.weblate.org/
Expand Down
4 changes: 2 additions & 2 deletions weblate/trans/tests/data/pypi.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"maintainer": "",
"maintainer_email": "",
"name": "Weblate",
"package_url": "https://pypi.org/project/Weblate/",
"package_url": "https://pypi.org/project/weblate/",
"platform": "",
"project_url": "https://pypi.org/project/Weblate/",
"project_url": "https://pypi.org/project/weblate/",
"project_urls": {
"Documentation": "https://docs.weblate.org/",
"Download": "https://weblate.org/download/",
Expand Down
2 changes: 1 addition & 1 deletion weblate/utils/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def check_diskspace(app_configs=None, **kwargs):


# Python Package Index URL
PYPI = "https://pypi.org/pypi/Weblate/json"
PYPI = "https://pypi.org/pypi/weblate/json"

# Cache to store fetched PyPI version
CACHE_KEY = "version-check"
Expand Down

0 comments on commit 68db734

Please sign in to comment.