- Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers
- Fix spelling of 8 (and 18 and 80)
- Add cases for thousands 3-9 and support in the logic
- Fix placement of "and" conjunction to match Academy of Hebrew Language position
- Add tests
Add a test to check correct error raises
This is a simple test to check that NotImplementedError raises
fine. This also should improve test code coverage.
* add kannada support
* add Kannada Language support
* add tests for kannada
* reformatted
* change lang param
* fix tests
* add condition
* add modifier
* add few more test cases
* fix test
* fix test
* modify test
* fix flake8
* fix isort
* add more tests
* add unicode prefix
* edit tests for float numbers
* add more tests
* add unicode prefix in tests
* add Kannada language
Commit 53b4518 made added explicit utf-8 encoding for all sources, among
other things. A copyright notice in `tests/test_tr.py` was removed and
two were added in `num2words/lang_it.py`. I know this was a simple
mistake, I just thought it would be best to explicitly give credit where
credit is due.
* Fix currency function for French. Adding Currency_Forms.
* Fix currency function for German. Adding Currency_Forms.
* Move FR_DZ to new currency functions, too.
* Fix tests
* Add more currency options for dutch.
* Add more tests for German, Dutch and French currencies.
* Multitude of corrections of Slovene language
* Indentation correction for flake8
* Added tests from https://github.com/gregopet/num2words by @gregopet and merged them with existing.
* Flake8ing tests.
* Sorted imports
* Some more sorting...
* Last time for sorting?
Some maintainers for different linux distribution are having some
problems with the encoding on different python versions. This change
intents to make all python files define explicitly the encoding, license
and unix line separators. Remove one example of the README.rst file
where a possible non UTF-8 character is used.
Before: 1_000_000_000 = "miliard milionów tysięcy" (with words for zero millions and thousands)
After: "miliard" (no words if value for given power of 1000 is 0)
* german: fix case in currency names
Also, add more tests for german language.
* german: default to amount of euros, not cents
If a non-float number is provided, interpret it as a quantity in euros,
not cents.
* german: handle "ein Euro" vs "eins Euro" exception
* german: prefer "einhundert" over "hundert"
"hundert" is usually colloquial (even if widely used).
Exception: "eintausendste" and "hundertste" are special cases, here
"hundertste" and "tausendste" are usually preferred (see Duden).
* Add support for Serbian language
* Fix the billion strings for short scale
Used the long scale name instead of the short one. Simplified the scale and the ones geneder definition.
* Adds Serbian to README
Punt string handling to python Decimal object, this correctly represents both
integers and floats (except with regards to trailing zeros)
Change command line tests to reflect handling of ints
* Refactor tox and travis config files
Separates flake8 and isort into separate tox tasks
Tie flake8 and isort to specific python version so they only run once on Travis
Add python3.7 to tested python versions
* Requires newer Xenial base
* Running Xenial on Travis requires sudo
Move coveralls submission to travis config to avoid triggering during local runs.
* Require all tests to be run
Clean up test generation code form test_fi.py
Perform coverage measurement of tests
Fail tox if coverage of tests directory isn't at 100%
* Further Tox refactoring
Measure project coverage explicitly instead of omitting non-project files from reporting
Add branch measurement to coverage
Only report to coveralls if a .coverage result file exists
Make dependencies for each testenv explict and only include requried deps
* Small readme update to trigger travis
Add overly brief message about installing and running tox
* Fix unescaped flake8 violations
Unescaped \w -> \\w and \e to \\e in regex patterns found with updated flake8
* add support for Portuguese (Portugal) (PT)
* FIX ADD SUPPORT TO PORTUGUESE (PORTUGAL) [PT]
removed venv/ from .gitignore.
correction from "milião" to "milhão" done on merge function.
removed hack for negword, creating a backup of the original one.
* add support PT (Portugal) (PT)
* add support PT (Portugal) (PT)
* add support PT (Portugal) (PT)
* add support PT (Portugal) (PT)
new tests
* increase test coverage - german ordinal_num
* push coverage of german to 100%
* fix line width
* travis ci fix
* remove underscore between numbers due to backwords comp
* removed coverage file