Currently key words min|max indicate an integer parameter, but this could be a float as well.
So one should check if these keyword are followed by an integer/float value (the latter maybe also in scientific notation). Or simply check if there is a float or integer on the line at all.
Choices are often represented (e.g. in argparse) by {A,B,C}, I often see ranges represented by [min,max], (min,max), [min:max], (min:max), where min and max ar integers / floats.
Currently key words
min|maxindicate an integer parameter, but this could be a float as well.So one should check if these keyword are followed by an integer/float value (the latter maybe also in scientific notation). Or simply check if there is a float or integer on the line at all.
Choices are often represented (e.g. in argparse) by
{A,B,C}, I often see ranges represented by[min,max],(min,max),[min:max],(min:max), where min and max ar integers / floats.