check.py : Throw on h0.3, h0.6, h0.12, h0.9 hats.

This commit is contained in:
Philippe Groarke 2018-04-14 11:57:51 -04:00
parent b26e6c0b6c
commit a9a5211c3d

View file

@ -69,7 +69,7 @@ class Mapping:
"-a": re.compile(r"^[0-9]+\~?$"), "-a": re.compile(r"^[0-9]+\~?$"),
"a": re.compile(r"^[0-9]+\~?$"), "a": re.compile(r"^[0-9]+\~?$"),
"b": re.compile(r"^[0-9]+$"), "b": re.compile(r"^[0-9]+$"),
"h": re.compile(r"^[0-9]+\.(1|2|4|8|3|6|12|9)$"), "h": re.compile(r"^[0-9]+\.(1|2|4|8)$"),
} }
def __init__(self, mapping_string, line_number, add_missing_platform = False): def __init__(self, mapping_string, line_number, add_missing_platform = False):