-
Notifications
You must be signed in to change notification settings - Fork 211
/
tox.ini
61 lines (56 loc) · 1.58 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[tox]
envlist = py{27,36,37,38,39,310,311,312,py,py3},flake8,docs,headers
skip_missing_interpreters = true
[testenv]
deps = pytest
pytest-cov
commands = pytest
setenv=
PYTHONWARNINGS=all
py27,pypy: VIRTUALENV_SETUPTOOLS=43.0.0
py27,pypy: VIRTUALENV_PIP=19.3.1
[testenv:flake8]
skip_install = true
deps = flake8<6.0
flake8-author
flake8-blind-except
flake8-bugbear
flake8-class-newline
flake8-commas
flake8-deprecated
flake8-docstrings
flake8-exact-pin
flake8-isort
flake8-print
flake8-quotes
flake8-tidy-imports
flake8-tuple
pep8-naming
commands = flake8 .
setenv=
PYTHONWARNINGS=ignore
[testenv:docs]
use_develop = true
deps = Sphinx
commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W
[testenv:headers]
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'