From 4cebc903b7e64be8d33f30c5ac448323fd91690f Mon Sep 17 00:00:00 2001 From: Manish Prajapati <210manishprajapati@gmail.com> Date: Wed, 24 Mar 2021 19:25:25 +0530 Subject: [PATCH] new line after top-level function PEP8 guidelines --- number_parser/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/number_parser/parser.py b/number_parser/parser.py index c60dd9e..e0d67c2 100644 --- a/number_parser/parser.py +++ b/number_parser/parser.py @@ -265,9 +265,9 @@ def parse_number(input_string, language=None): number_built = _build_number(normalized_tokens, lang_data) if len(number_built) == 1: return int(number_built[0]) - return None + def parse_fraction(input_string, language=None): """Converts a single number written in fraction to a numeric type""" if not input_string.strip():