Debian Codegraph @

tox.ini

raw symbols SCIP
1 [tox]
2 envlist = py, flake8, docs
3 minversion = 2.4.0
4
5 [testenv]
6 extras = tests
7 passenv = *
8 # setenv = PYTHONMALLOC = pymalloc
9 # PYTHONMALLOCSTATS = 'yes'
10 usedevelop = True
11 commands =
12 pytest --cov=lz4/block --cov=lz4/frame --tb=long {posargs} tests/block tests/frame
13
14 [pytest]
15 addopts = -x --tb=long --showlocals
16
17
18 [testenv:flake8]
19 extras = flake8
20 passenv = *
21 commands =
22 flake8 lz4 setup.py tests
23
24 [flake8]
25 ignore = E501
26
27 [testenv:docs]
28 package_env = .pkg-experimental
29 passenv = *
30 usedevelop = True
31 allowlist_externals = make
32 extras = docs
33 commands =
34 make -C docs doctest html
35
36 [testenv:.pkg-experimental]
37 # This environment is used when building the lz4 package (wheel) that
38 # is subsequently installed into the tox environment for any
39 # environment referencing this one via package_env.
40 # https://tox.wiki/en/latest/config.html#package_env-env
41 setenv =
42 PYLZ4_EXPERIMENTAL = 1
43
44 [testenv:experimental]
45 extras = tests
46 passenv = *
47 package_env = .pkg-experimental
48 # PYTHONMALLOC = pymalloc
49 # PYTHONMALLOCSTATS = 'yes'
50 usedevelop = True
51 commands =
52 pytest --cov=lz4/stream --tb=long {posargs} tests/stream