]> granicus.if.org Git - graphviz/commitdiff
squash missing-module-docstring Pylint warning in gen_version
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 9 May 2021 18:06:50 +0000 (11:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 15 May 2021 18:56:38 +0000 (11:56 -0700)
gen_version.py

index c543598adc9cd863313c1f3a0640ecef338776b9..cb8bb027cddac4e03111f005192799612c3ee6bd 100644 (file)
@@ -1,23 +1,25 @@
 #!/usr/bin/env python3
 
-# Generate version
-#
-# Release version entry format : <major>.<minor>.<patch>
-#
-# Stable release version output format     : <major>.<minor>.<patch>
-# Development release version output format: <major>.<minor>.<patch>~dev.<YYYYmmdd.HHMM>
-
-# 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 : <major>.<minor>.<patch>
+
+Stable release version output format     : <major>.<minor>.<patch>
+Development release version output format: <major>.<minor>.<patch>~dev.<YYYYmmdd.HHMM>
+
+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