-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
78 lines (66 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tox]
envlist = py39, py310, py311, py312, py313
isolated_build = true
minversion = 3.18
passenv =
CONAN_USER_HOME
FRAMEWORK40VERSION
FRAMEWORKDIR
[testenv]
deps =-r requirements-dev.txt
passenv =
CONAN_USER_HOME
INCLUDE
LIB
LIBPATH
commands_pre =
{env_bin_dir}{/}python {tox_root}/contrib/get_linked_exiv2_version.py
commands =
{env_bin_dir}{/}pytest {posargs} --basetemp={envtmpdir} -o pythonpath=
[testenv:docs]
deps=
sphinx
commands=
sphinx-build {env:sphinx_args:-W -b html -d {envtmpdir}/doctrees docs/source {distdir}/html}
[testenv:otool]
platform = darwin
deps =-r requirements-dev.txt
commands =
python -mmacholib dump {envsitepackagesdir}/py3exiv2bind
[testenv:dumpbin]
platform = win32
allowlist_externals=dumpbin
commands =
dumpbin /DEPENDENTS {envsitepackagesdir}/py3exiv2bind/*.pyd
dumpbin /DEPENDENTS {envsitepackagesdir}/py3exiv2bind/*.dll
[testenv:mypy]
deps =
mypy
lxml
skip_install=True
setenv = MYPY_CACHE_DIR = {temp_dir}/.mypy_cache
commands = mypy {posargs: -p py3exiv2bind}
[testenv:flake8]
description = check the code style
deps =
flake8
skip_install=True
commands = flake8 {posargs: src/py3exiv2bind}
[testenv:pylint]
description = check the code style
deps =
pylint
skip_install=True
commands = pylint {posargs: src/py3exiv2bind} --disable import-error
[testenv:pydocstyle]
skip_install = true
deps=
pydocstyle
commands =
pydocstyle {posargs: {toxinidir}/py3exiv2bind}
[testenv:bandit]
skip_install = true
deps=
bandit
commands =
bandit {posargs: --recursive {toxinidir}/py3exiv2bind}