Skip to content

Commit

Permalink
Get files ready for 1.15 release
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdejong committed Jan 11, 2021
1 parent 755eee7 commit 6b7f209
Show file tree
Hide file tree
Showing 11 changed files with 225 additions and 4 deletions.
170 changes: 170 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,173 @@
2021-01-11 Arthur de Jong <arthur@arthurdejong.org>

* [755eee7] .travis.yml: Simplify Travis matrix

This also ensures that supported Python interpreters are output
in order.

2021-01-10 Arthur de Jong <arthur@arthurdejong.org>

* [a0c62ee] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/gs1_ai.dat,
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/my/bp.dat, stdnum/nz/banks.dat, stdnum/oui.dat,
update/at_postleitzahl.py, update/my_bp.py, update/nz_banks.py:
Update database files

2021-01-10 Arthur de Jong <arthur@arthurdejong.org>

* [df0623b] stdnum/by/unp.py, stdnum/do/ncf.py, stdnum/imsi.py,
stdnum/isbn.py, stdnum/meid.py, tox.ini: Drop pinning of isort
now flake8-isort has been fixed

This changes a few inline imports in the code to pass with the
new isort.

Reverts 291b831

2021-01-10 Arthur de Jong <arthur@arthurdejong.org>

* [b202eee] stdnum/my/nric.py: Fix typo

2021-01-10 Arthur de Jong <arthur@arthurdejong.org>

* [7e86331] setup.py: Add project URLs for PyPI

2020-10-25 Leandro Regueiro <leandro.regueiro@gmail.com>

* [126496c] stdnum/ua/rntrc.py, tests/test_ua_rntrc.doctest:
Add support for Ukraine РНОКПП number

Closes https://github.com/arthurdejong/python-stdnum/pull/242
Closes https://github.com/arthurdejong/python-stdnum/issues/117

2020-10-25 Leandro Regueiro <leandro.regueiro@gmail.com>

* [b7b2af8] stdnum/ua/__init__.py, stdnum/ua/edrpou.py,
tests/test_ua_edrpou.doctest: Add support for Ukraine ЄДРПОУ
number

Closes https://github.com/arthurdejong/python-stdnum/pull/242
Closes https://github.com/arthurdejong/python-stdnum/issues/117

2021-01-04 Viggo de Vries <viggo@uwkm.nl>

* [0427b01] stdnum/eu/vat.py, tests/test_eu_vat.doctest,
tests/test_gb_vat.doctest: Remove GB from EU member states

Closes https://github.com/arthurdejong/python-stdnum/pull/246

2021-01-10 Arthur de Jong <arthur@arthurdejong.org>

* [2f2c742] .travis.yml, setup.py, tox.ini: Add support for
Python 3.9

This switches Travis tests to bionic by default.

2021-01-10 Arthur de Jong <arthur@arthurdejong.org>

* [2046f51] stdnum/damm.py, stdnum/eu/at_02.py, stdnum/gs1_128.py,
stdnum/iso7064/mod_11_10.py, stdnum/iso7064/mod_11_2.py,
stdnum/iso7064/mod_37_2.py, stdnum/iso7064/mod_37_36.py,
stdnum/iso7064/mod_97_10.py, stdnum/luhn.py, stdnum/util.py,
stdnum/verhoeff.py: Fix flake8 blind except Exception error

2021-01-04 Viggo de Vries <viggo@uwkm.nl>

* [cc3a970] stdnum/au/__init__.py: Use ABN as Australian VAT number

See https://www.ato.gov.au/Business/GST/Tax-invoices/

Closes https://github.com/arthurdejong/python-stdnum/pull/246

2021-01-02 Arthur de Jong <arthur@arthurdejong.org>

* [c74e322] stdnum/vatin.py, tests/test_vatin.doctest: Support
VAT numbers that are only valid with country prefix

The Swish VAT number has the CH prefix embedded as a required
part of the number. This ensures that the international VAT
number module also supports that.

Closes https://github.com/arthurdejong/python-stdnum/issues/245
Fixes ff188bd

2020-10-27 Matthias Schmid, M.Sc <ramsondon@gmail.com>

* [5082af4] stdnum/li/__init__.py, stdnum/li/peid.py,
tests/test_li_peid.doctest: Add Liechtenstein
Personenidentifikationsnummer

Closes https://github.com/arthurdejong/python-stdnum/pull/241
Closes https://github.com/arthurdejong/python-stdnum/issues/125

2020-10-02 Jonas Geuens <jonasgeuens@gmail.com>

* [3a592e4] stdnum/be/vat.py, tests/test_be_vat.doctest: Expanded
validation for BE VAT numbers

Specifically invalidated all-zero numbers

Closes https://github.com/arthurdejong/python-stdnum/pull/240

2020-11-01 Arthur de Jong <arthur@arthurdejong.org>

* [c5eb2d8] stdnum/eu/vat.py, stdnum/ro/cf.py,
tests/test_eu_vat.doctest: Retain RO prefix in Romanian VAT numbers

This does not strip the RO prefix from Romanian VAT numbers to be
able to keep the distinction between a CUI/CIF that is registered
for VAT (which commonly has the RO prefix) and those that don't.

Closes https://github.com/arthurdejong/python-stdnum/issues/231

2020-11-01 Arthur de Jong <arthur@arthurdejong.org>

* [1f6c77f] stdnum/ro/cnp.py, stdnum/ro/onrc.py: Minor updates

2020-11-01 Arthur de Jong <arthur@arthurdejong.org>

* [e0417f6] stdnum/ro/cf.py, stdnum/ro/cui.py: Add Romanian
CUI/CIF number

This module separates the validation of numbers assigned to
companies (CUI or CIF) of those assigned to natural persons (CNP).

2020-09-19 Arthur de Jong <arthur@arthurdejong.org>

* [19d3f70] stdnum/eu/vat.py: Make list of EU member states list
of public API

This provides stdnum.eu.vat.MEMBER_STATES. Note that Greece is
listed with a country code of "gr" while the prefix used in VAT
numbers is "el".

Closes https://github.com/arthurdejong/python-stdnum/issues/238

2020-09-04 Arthur de Jong <arthur@arthurdejong.org>

* [992dc20] online_check/check.js,
online_check/jquery-1.7.1.js, online_check/jquery-1.7.1.min.js,
online_check/jquery-3.5.1.js, online_check/jquery-3.5.1.min.js,
online_check/jquery-3.5.1.min.map, online_check/template.html:
Upgrade jQuery to 3.5.1

This also runs eslint over check.js and fixes an issue from
the upgrade.

2020-08-09 Arthur de Jong <arthur@arthurdejong.org>

* [3373938] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.by.unp.rst, docs/stdnum.cn.uscc.rst,
docs/stdnum.gb.utr.rst, docs/stdnum.gs1_128.rst,
docs/stdnum.id.npwp.rst, docs/stdnum.il.hp.rst,
docs/stdnum.it.aic.rst, docs/stdnum.kr.brn.rst,
docs/stdnum.ro.onrc.rst, docs/stdnum.sg.uen.rst,
docs/stdnum.sv.nit.rst, docs/stdnum.tw.ubn.rst,
docs/stdnum.vatin.rst, docs/stdnum.vn.mst.rst,
docs/stdnum.za.idnr.rst, stdnum/__init__.py: Get files ready
for 1.14 release

2020-08-09 Arthur de Jong <arthur@arthurdejong.org>

* [40fcc24] stdnum/be/banks.dat, stdnum/cn/loc.dat,
Expand Down
21 changes: 21 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
changes from 1.14 to 1.15
-------------------------

* Add modules for the following number formats:

- CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
- PEID (Liechtenstein tax code for individuals and entities)
(thanks Matthias Schmid)
- ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
(thanks Leandro Regueiro)
- РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
(thanks Leandro Regueiro)

* Make list of EU member states part of public API
* Retain RO prefix in Romanian VAT numbers
* Support international VAT numbers that are only valid with country prefix
* Expanded validation for Belgian VAT numbers
* Use ABN as Australian VAT number
* Remove GB from EU member states


changes from 1.13 to 1.14
-------------------------

Expand Down
6 changes: 5 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Currently this package supports the following formats:
* BRN (사업자 등록 번호, South Korea Business Registration Number)
* RRN (South Korean resident registration number)
* LEI (Legal Entity Identifier)
* PEID (Liechtenstein tax code for individuals and entities)
* Asmens kodas (Lithuanian, personal numbers)
* PVM (Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT number)
* TVA (taxe sur la valeur ajoutée, Luxembourgian VAT number)
Expand Down Expand Up @@ -172,6 +173,7 @@ Currently this package supports the following formats:
* RUC number (Registro Único de Contribuyentes, Paraguay tax number)
* CF (Cod de înregistrare în scopuri de TVA, Romanian VAT number)
* CNP (Cod Numeric Personal, Romanian Numerical Personal Code)
* CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
* ONRC (Ordine din Registrul Comerţului, Romanian Trade Register identifier)
* PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
* ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
Expand All @@ -187,6 +189,8 @@ Currently this package supports the following formats:
* T.C. Kimlik No. (Turkish personal identification number)
* VKN (Vergi Kimlik Numarası, Turkish tax identification number)
* UBN (Unified Business Number, 統一編號, Taiwanese tax number)
* ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
* РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
* ATIN (U.S. Adoption Taxpayer Identification Number)
* EIN (U.S. Employer Identification Number)
* ITIN (U.S. Individual Taxpayer Identification Number)
Expand Down Expand Up @@ -255,7 +259,7 @@ also work with older versions of Python.
Copyright
---------

Copyright (C) 2010-2020 Arthur de Jong and others
Copyright (C) 2010-2021 Arthur de Jong and others

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
# Automatically generate stub pages for autosummary entries.
autosummary_generate = True

# Autosummary overwrites existing files by generated stub pages.
autosummary_generate_overwrite = False

# -- Options for HTML output ---------------------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ Available formats
kr.brn
kr.rrn
lei
li.peid
lt.asmens
lt.pvm
lu.tva
Expand Down Expand Up @@ -270,6 +271,7 @@ Available formats
py.ruc
ro.cf
ro.cnp
ro.cui
ro.onrc
rs.pib
ru.inn
Expand All @@ -285,6 +287,8 @@ Available formats
tr.tckimlik
tr.vkn
tw.ubn
ua.edrpou
ua.rntrc
us.atin
us.ein
us.itin
Expand Down
5 changes: 5 additions & 0 deletions docs/stdnum.li.peid.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
stdnum.li.peid
==============

.. automodule:: stdnum.li.peid
:members:
5 changes: 5 additions & 0 deletions docs/stdnum.ro.cui.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
stdnum.ro.cui
=============

.. automodule:: stdnum.ro.cui
:members:
5 changes: 5 additions & 0 deletions docs/stdnum.ua.edrpou.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
stdnum.ua.edrpou
================

.. automodule:: stdnum.ua.edrpou
:members:
5 changes: 5 additions & 0 deletions docs/stdnum.ua.rntrc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
stdnum.ua.rntrc
===============

.. automodule:: stdnum.ua.rntrc
:members:
4 changes: 2 additions & 2 deletions stdnum/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# __init__.py - main module
# coding: utf-8
#
# Copyright (C) 2010-2020 Arthur de Jong
# Copyright (C) 2010-2021 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -43,4 +43,4 @@
__all__ = ('get_cc_module', '__version__')

# the version number of the library
__version__ = '1.14'
__version__ = '1.15'
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ deps = flake8
commands = flake8 stdnum tests update setup.py

[testenv:docs]
deps = Sphinx<3
deps = Sphinx
commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W

0 comments on commit 6b7f209

Please sign in to comment.