From 125140690caff1277e1d2f760f171e88c748e102 Mon Sep 17 00:00:00 2001 From: SkiBY Date: Mon, 16 Oct 2023 22:38:17 +0200 Subject: [PATCH] [FIX]isort and flake returned [FIX]isort and flake returned --- num2words/lang_BY.py | 1 - tox.ini | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/num2words/lang_BY.py b/num2words/lang_BY.py index f0ace74e..ec825fd0 100644 --- a/num2words/lang_BY.py +++ b/num2words/lang_BY.py @@ -240,7 +240,6 @@ def to_ordinal(self, number, gender="m"): if lastword[-1] == "ч": lastword = lastword + "ны" - elif lastword[-1] == "н" or lastword[-2] == "н": lastword = lastword[: lastword.rfind("н") + 1] + "ны" elif lastword[-1] == "д" or lastword[-2] == "д": diff --git a/tox.ini b/tox.ini index 71beb41b..8e334bcf 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 - 3.10: py310 + 3.10: isort, flake8, py310 3.11: py311