Commit Graph

297 Commits

Author SHA1 Message Date
Ernesto Rodriguez Ortiz
abae0b56a2 Update fichier README.rst to fix the coverage badge 2017-10-30 14:08:44 -04:00
Ernesto Rodriguez Ortiz
3da0c54f3b Activate flake8, isort and coveralls in the configuration of tox (#105)
* Activate flake8, isort and coveralls in the configuration of tox

* Update code to respect PEP8

* Fix bug in the lang_IT for python 3

* Update the README to include the new converters.
2017-10-30 14:06:46 -04:00
Ernesto Rodriguez Ortiz
c6015db8b4 Update tox.ini to check more stuffs (#103) 2017-10-26 20:10:44 -04:00
Ernesto Rodriguez Ortiz
34d5a4cd5a Merge pull request #102 from savoirfairelinux/remove_lang_EN_GB_old_file
Remove old and not used file num2words/lang_EN_GB_old.py
2017-10-26 16:11:06 -04:00
Ernesto Rodriguez Ortiz
14bcd99cab Remove old and not used file num2words/lang_EN_GB_old.py 2017-10-26 16:08:33 -04:00
Ernesto Rodriguez Ortiz
3788cb213a Merge pull request #101 from shulcsm/expose_to_currency
Expose to to_currency.
2017-10-26 15:06:34 -04:00
Ernesto Rodriguez Ortiz
02a52aab5b Merge pull request #100 from shulcsm/pass_kwargs_to_converters
Pass kwargs to converters.
2017-10-26 15:05:12 -04:00
Ernesto Rodriguez Ortiz
168707744d Merge pull request #98 from williamjmorenor/master
Fix some pep8 issues
2017-10-26 15:03:27 -04:00
Mārtiņš Šulcs
7461ef6d78 Expose to to_currency. 2017-10-26 13:26:17 +03:00
Mārtiņš Šulcs
f01dfa2de0 Pass kwargs to converters. 2017-10-26 13:14:09 +03:00
William Moreno Reyes
0600fbb183 Fix many to long lines issues
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-24 17:48:51 -06:00
William Moreno Reyes
6462321257 Remove unnecessary line break
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-24 07:10:58 -06:00
William Moreno Reyes
9e6015494c Fix tests
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 18:38:21 -06:00
William Moreno
d65f5b10db Merge branch 'master' into master 2017-10-23 18:15:55 -06:00
William Moreno Reyes
94c73d277e Fix as many pep8 issues as posible
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 18:12:36 -06:00
William Moreno Reyes
e2ce7c2562 Many PEP8 fixes
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 15:58:00 -06:00
William Moreno Reyes
27058f5ddc Include tests in release
Please include tests in the release, I am the mantainer of this library
for Fedora/EPEL and have the tests available in the releases file is
reale usefull

Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 15:05:58 -06:00
William Moreno Reyes
55cb0ea3e9 Fix a py3 issue with print like a funtion
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 14:33:25 -06:00
William Moreno Reyes
d73acaa985 Fix missing print funtion for py3
Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 14:25:37 -06:00
Ernesto Rodriguez Ortiz
096cb45ad9 Merge pull request #97 from bblaz/master
Added Slovene (sl) languange
2017-10-23 16:19:30 -04:00
Ernesto Rodriguez Ortiz
931d7063db Merge pull request #95 from savoirfairelinux/allow_call_to_other_converters
Allow call to other convertes as to_currency, to_year
2017-10-23 16:18:14 -04:00
William Moreno Reyes
d9aee6934f Fix some pep8 issues
W291:
 pycodestyle-3.6 num2words | grep W291
 num2words/lang_NL.py:64:40: W291 trailing whitespace
 num2words/lang_NL.py:97:38: W291 trailing whitespace

Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 14:16:46 -06:00
Ernesto Rodriguez Ortiz
38db45cc4a Merge pull request #96 from marcu/master
lang_DK do not depends on num2words
2017-10-23 16:16:37 -04:00
William Moreno Reyes
34de8f7f87 Fix some pep8 issues
W293:
 pycodestyle-3.6 num2words | grep W293
 num2words/lang_EN_EUR.py:19:1: W293 blank line contains whitespace
 num2words/lang_EN_EUR.py:43:1: W293 blank line contains whitespace
 num2words/lang_EN_IN.py:19:1: W293 blank line contains whitespace
 num2words/lang_EU.py:28:1: W293 blank line contains whitespace
 num2words/lang_RU.py:236:1: W293 blank line contains whitespace
 num2words/lang_UK.py:218:1: W293 blank line contains whitespace
 num2words/lang_UK.py:238:1: W293 blank line contains whitespace
 num2words/lang_UK.py:248:1: W293 blank line contains whitespace
 num2words/orderedmapping.py:22:1: W293 blank line contains whitespace

Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2017-10-23 14:10:29 -06:00
William Moreno
e15e7486c4 Merge pull request #1 from savoirfairelinux/master
Sync
2017-10-23 14:42:19 -05:00
Blaž Bregar
2ee0e49a8b Added Slovene 2017-10-22 18:06:49 +02:00
Blaž Bregar
1176539b62 Merge branch 'master' of https://github.com/savoirfairelinux/num2words
Conflicts:
	num2words/__init__.py
2017-10-22 15:59:04 +02:00
Blaž Bregar
5d7697a85e resolved merge 2017-10-22 15:50:55 +02:00
Marc Ducobu
2f3acee36f lang_DK do not depends on num2words 2017-10-19 11:57:37 +02:00
Ernesto Rodriguez Ortiz
49a39fc253 Allow call to other convertes as to_currency, to_year
There are at least to issues related with questions about how to use other convertes.
This changes should allow the use of this converters
2017-09-29 15:29:25 -04:00
Ernesto Rodriguez Ortiz
659920c881 Merge pull request #91 from olix20/master
Added support for Dutch language (NL)
2017-09-20 09:14:28 -04:00
Armin Oliya
d96175b58e Merge branch 'master' into master 2017-09-20 14:35:27 +02:00
Ernesto Rodriguez Ortiz
f1838bf2de Merge pull request #93 from Sergeyzhol/master
Add Ukrainian language
2017-09-19 12:59:15 -04:00
Armin Oliya
aca6256a1f Merge branch 'master' into master 2017-09-12 00:57:01 +02:00
Sergio Zholudov
28f3d3bcff update uk_test (utf-8 issue resolved) 2017-09-11 15:05:11 +03:00
Sergio Zholudov
23b1961fe5 updated test_uk 2017-09-11 14:32:16 +03:00
Sergio Zholudov
865a311437 Ukrainian language test update 2017-09-11 13:48:18 +03:00
Sergio Zholudov
71419ffa0e update lang_uk.py 2017-09-11 13:43:39 +03:00
Sergio Zholudov
88eb77c927 update test_uk.py 2017-09-11 13:40:56 +03:00
Sergio Zholudov
b93c716597 update test_uk 2017-09-11 13:38:00 +03:00
Sergio Zholudov
279b63ed50 update test_uk 2017-09-11 13:01:59 +03:00
Sergio Zholudov
90b85a366c Tests Ukrainian language 2017-09-11 12:43:30 +03:00
Armin
4b58b1ee25 updated readme 2017-09-08 19:29:37 +02:00
Armin
7fe315eb64 fixed bug with 12 and 11 2017-09-08 17:54:25 +02:00
Armin
63fe589b98 fixed test bug 2017-09-08 17:47:23 +02:00
Armin
294d350fb9 added NL test cases 2017-09-08 17:42:30 +02:00
Sergio Zholudov
1d580f1be7 Updated README.rst, added Ukrainian 2017-09-08 17:47:42 +03:00
Sergio Zholudov
8b12fa7dc3 Updated __init__.py, added Ukrainian 2017-09-08 17:44:27 +03:00
Sergio Zholudov
77df034a70 Ukrainian language 2017-09-08 17:37:38 +03:00
Ernesto Rodriguez Ortiz
18f906dc48 Merge pull request #89 from Framras/master
readme corrected
2017-09-08 09:29:32 -04:00