From: Matthew Fernandez Date: Sun, 9 May 2021 18:06:50 +0000 (-0700) Subject: squash missing-module-docstring Pylint warning in gen_version X-Git-Tag: 2.47.2~8^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88ba1a108f040bbbbd8239fd08237a2d5292d27a;p=graphviz squash missing-module-docstring Pylint warning in gen_version --- diff --git a/gen_version.py b/gen_version.py index c543598ad..cb8bb027c 100644 --- a/gen_version.py +++ b/gen_version.py @@ -1,23 +1,25 @@ #!/usr/bin/env python3 -# Generate version -# -# Release version entry format : .. -# -# Stable release version output format : .. -# Development release version output format: ..~dev. - -# The patch version of a development release should be the same as the -# next stable release patch number. The string "~dev." and the -# committer date will be added. -# -# Example sequence: -# -# Entry version Entry collection Output -# 2.44.1 stable => 2.44.1 -# 2.44.2 development => 2.44.2~dev.20200704.1652 -# 2.44.2 stable => 2.44.2 -# 2.44.3 development => 2.44.3~dev.20200824.1337 +""" +Generate version + +Release version entry format : .. + +Stable release version output format : .. +Development release version output format: ..~dev. + +The patch version of a development release should be the same as the +next stable release patch number. The string "~dev." and the +committer date will be added. + +Example sequence: + +Entry version Entry collection Output +2.44.1 stable => 2.44.1 +2.44.2 development => 2.44.2~dev.20200704.1652 +2.44.2 stable => 2.44.2 +2.44.3 development => 2.44.3~dev.20200824.1337 +""" import argparse from datetime import datetime