Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
KhramtsovDR committed Mar 29, 2024
1 parent 6bddf4e commit 2aad6ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions num2words/lang_RU.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def make_ord_mldir(prefixes, post_groups):

# Start filling ONES_ORD (mldir format)
ORD_CASE_POSTFIXES = [[{0: 'ой', 1: 'ый'}, 'ая', 'ое', 'ые'],
['ого', 'ой', 'ого', 'ых'],
['ому', 'ой', 'ому', 'ым'],
[['ого', {0: 'ой', 1: 'ый'}], 'ую', 'ое', ['ых', 'ые']],
['ым', 'ой', 'ым', 'ыми'],
['ом', 'ой', 'ом', 'ых']]
['ого', 'ой', 'ого', 'ых'],
['ому', 'ой', 'ому', 'ым'],
[['ого', {0: 'ой', 1: 'ый'}], 'ую', 'ое', ['ых', 'ые']],
['ым', 'ой', 'ым', 'ыми'],
['ом', 'ой', 'ом', 'ых']]
ONES_ORD_PREFIXES = {0: 'нулев', 1: 'перв', 2: 'втор', 4: 'четвёрт', 5: 'пят',
6: 'шест', 7: 'седьм', 8: 'восьм', 9: 'девят'}
ONES_ORD_POSTFIXES_GROUPS = {0: 0, 1: 1, 2: 0, 4: 1, 5: 1, 6: 0, 7: 0, 8: 0,
Expand Down Expand Up @@ -190,7 +190,7 @@ def make_ord_mldir(prefixes, post_groups):
TWENTIES_ORD_POSTFIXES_GROUPS = {2: 1, 3: 1, 4: 0, 5: 1, 6: 1, 7: 1, 8: 1,
9: 1}
TWENTIES_ORD = make_ord_mldir(TWENTIES_ORD_PREFIXES,
TWENTIES_ORD_POSTFIXES_GROUPS)
TWENTIES_ORD_POSTFIXES_GROUPS)
# End filling TWENTIES_ORD

# Start filling HUNDREDS (mldir format)
Expand Down

0 comments on commit 2aad6ac

Please sign in to comment.