@validator
def fi_ssn(ssn):
    if not ssn:
        return False

    result = re.match(ssn_pattern, ssn)
    if not result:
        return False
    gd = result.groupdict()
    checksum = int(gd['date'] + gd['serial'])
    return (
        ssn_checkmarks[checksum % len(ssn_checkmarks)] ==
        gd['checksum'].upper()
    )
Fixes for the following issues on windows
dataset/ETHPy150Open SickRage/SickRage/lib/validators/i18n/fi.py/fi_ssn--crossover with--dataset/ETHPy150Open pre-commit/pre-commit/pre_commit/parse_shebang.py/normalize_cmd