Skip to content

Commit

Permalink
[FIX]isort and flake returned
Browse files Browse the repository at this point in the history
[FIX]isort and flake returned
  • Loading branch information
SkiBY committed Oct 16, 2023
1 parent 138b155 commit 1251406
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion num2words/lang_BY.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] == "д":
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1251406

Please sign in to comment.