File: tox.ini

package info (click to toggle)
python-pyzipper 0.3.6-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,112 kB
  • sloc: python: 9,552; makefile: 37
file content (31 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download
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
[tox]
envlist = py{34,35,36,37,38,39}, flake8

[flake8]
max-line-length = 99

[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 pyzipper

[testenv:full]
# use 'tox -e full' to run zipfile64 tests as well (takes long and needs 6GB drive space).
setenv = PYTHONPATH = {toxinidir}
passenv = *
deps = -r{toxinidir}/requirements_dev.txt
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile_aes.py test/test_zipfile2.py test/test_zipfile.py test/test_zipfile64.py

[testenv:aes_only]
# use 'tox -e aes_only' to to only test aes code.
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile_aes.py test/test_zipfile2.py

[testenv:zip_only]
# use 'tox -e zip_only' to to only test zip code.
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile.py

[testenv]
setenv = PYTHONPATH = {toxinidir}
passenv = *
deps = -r{toxinidir}/requirements_dev.txt
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile_aes.py test/test_zipfile2.py test/test_zipfile.py