diff options
Diffstat (limited to 'coverage/version.py')
-rw-r--r-- | coverage/version.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/coverage/version.py b/coverage/version.py index 48e5f2b9..95491ed5 100644 --- a/coverage/version.py +++ b/coverage/version.py @@ -40,11 +40,10 @@ def _make_url( dev: int = 0, ) -> str: """Make the URL people should start at for this version of coverage.py.""" - url = "https://coverage.readthedocs.io" - if releaselevel != "final" or dev != 0: - # For pre-releases, use a version-specific URL. - url += "/en/" + _make_version(major, minor, micro, releaselevel, serial, dev) - return url + return ( + "https://coverage.readthedocs.io/en/" + + _make_version(major, minor, micro, releaselevel, serial, dev) + ) __version__ = _make_version(*version_info, _dev) |