summaryrefslogtreecommitdiffstats
path: root/tags/m/malformed-python-version.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/m/malformed-python-version.tag')
-rw-r--r--tags/m/malformed-python-version.tag16
1 files changed, 16 insertions, 0 deletions
diff --git a/tags/m/malformed-python-version.tag b/tags/m/malformed-python-version.tag
new file mode 100644
index 0000000..bd299e6
--- /dev/null
+++ b/tags/m/malformed-python-version.tag
@@ -0,0 +1,16 @@
+Tag: malformed-python-version
+Severity: error
+Check: languages/python
+See-Also: python-policy 3.4
+Explanation: The Python-Version or Python3-Version control field is not in one
+ of the valid formats. It should be in one of the following:
+ .
+ all
+ current
+ current, >= X.Y
+ >= X.Y
+ >= A.B, << X.Y
+ A.B, X.Y
+ .
+ (One or more specific versions may be listed with the last form.) A.B
+ and X.Y should be Python versions.