Skip to content

Commit 0aa97a0

Browse files
committed
pre-release and prerelease are synonyms.
1 parent f0a570a commit 0aa97a0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

build_docs.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,10 @@ class Version:
7979
"bugfix": "stable",
8080
"security": "security-fixes",
8181
"end-of-life": "EOL",
82+
"prerelease": "pre-release",
8283
}
8384

84-
def __init__(
85-
self,
86-
name,
87-
*,
88-
status,
89-
branch_or_tag=None,
90-
):
85+
def __init__(self, name, *, status, branch_or_tag=None):
9186
status = self.SYNONYMS.get(status, status)
9287
if status not in self.STATUSES:
9388
raise ValueError(

0 commit comments

Comments
 (0)