Skip to content

Commit

Permalink
Add update-dat tox target for convenient data file updating
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdejong committed Mar 17, 2024
1 parent 26fd25b commit 97dbced
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,21 @@ commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W
skip_install = true
deps =
commands = python scripts/check_headers.py

[testenv:update-dat]
use_develop = true
deps = -r update/requirements.txt
allowlist_externals = bash
commands =
-bash -c 'update/at_postleitzahl.py > stdnum/at/postleitzahl.dat'
-bash -c 'update/be_banks.py > stdnum/be/banks.dat'
-bash -c 'update/cfi.py > stdnum/cfi.dat'
-bash -c 'update/cn_loc.py > stdnum/cn/loc.dat'
-bash -c 'update/gs1_ai.py > stdnum/gs1_ai.dat'
-bash -c 'update/iban.py > stdnum/iban.dat'
-bash -c 'update/imsi.py > stdnum/imsi.dat'
-bash -c 'update/isbn.py > stdnum/isbn.dat'
-bash -c 'update/isil.py > stdnum/isil.dat'
-bash -c 'update/my_bp.py > stdnum/my/bp.dat'
-bash -c 'update/nz_banks.py > stdnum/nz/banks.dat'
-bash -c 'update/oui.py > stdnum/oui.dat'

0 comments on commit 97dbced

Please sign in to comment.