ema / pycodicefiscale

Python library for handling Italian fiscal code, officially known as Italy's Codice Fiscale
http://pypi.python.org/pypi/codicefiscale/
GNU Lesser General Public License v2.1
14 stars 12 forks source link

Fix validation (and add a random code generator utility) #11

Closed apiraino closed 1 year ago

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-2.5%) to 97.531% when pulling b033cc7764d83cb837e5dea97123da551ef6cee8 on quokky:fix_validation into 4d06a145cdcffe7ee576f2fedaf40e2c6f7692a4 on ema:master.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 88b2453226f5194adef161c6cfb581dbd2a1e9a5 on quokky:fix_validation into 4d06a145cdcffe7ee576f2fedaf40e2c6f7692a4 on ema:master.

apiraino commented 8 years ago

This patch really force a real validation of the code (not only against a regexp but also checks the last control char). Funny that the library didn't already do so since the control code generation was already there :-)

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 1a6c850f2f44116c1bf83d240464eb731d384f73 on quokky:fix_validation into 4d06a145cdcffe7ee576f2fedaf40e2c6f7692a4 on ema:master.

Fredthelead commented 1 year ago

Could this PR be merged, please?