File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def _define_format(args: argparse.Namespace) -> str:
167167def _python_major_version (value : Any ) -> int | None :
168168 pattern = r"^\d+$" # x format
169169 if not re .match (pattern , value ):
170- msg = "Invalid major version format. Expected a positive integer value"
170+ msg = "Invalid major version format. Expected a positive integer value. "
171171 raise argparse .ArgumentTypeError (msg )
172172 return value
173173
@@ -176,8 +176,8 @@ def _python_minor_version(value: Any) -> int | None:
176176 pattern = r"^\d+\.\d+$" # x.x format
177177 if not re .match (pattern , value ):
178178 msg = (
179- "Invalid minor version format."
180- "Expected a positive float value in x.x pattern"
179+ "Invalid minor version format. "
180+ "Expected a positive float value in x.x pattern. "
181181 )
182182 raise argparse .ArgumentTypeError (msg )
183183 return value
You can’t perform that action at this time.
0 commit comments