From 81d30612e85ed50676fddf988c391d08f1fb607e Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 24 Dec 2020 15:31:30 +0100 Subject: [PATCH] remove unused function --- src/rougail/utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/rougail/utils.py b/src/rougail/utils.py index d430d0b5..5a1fc93f 100644 --- a/src/rougail/utils.py +++ b/src/rougail/utils.py @@ -5,11 +5,6 @@ from unicodedata import normalize, combining from .i18n import _ -def valid_name(name: str) -> None: - if '.' in name: - raise ValueError(_(f'"{name}" is a forbidden variable or family name, dot is not allowed')) - - def normalize_family(family_name: str) -> str: """replace space, accent, uppercase, ... by valid character """