File: tox.ini

package info (click to toggle)
python-pymzml 2.5.2%2Brepack1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 27,792 kB
  • sloc: python: 6,495; pascal: 341; makefile: 233; sh: 30
file content (56 lines) | stat: -rw-r--r-- 1,259 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py37,py38,py39,coverage,example_scripts,docu

[testenv]
deps =
  numpy
  pytest
whitelist_externals = pytest
commands =
  pip install -r {toxinidir}/requirements_dev.txt
  pytest {posargs}

[testenv:docu]
whitelist_externals =
  make
  /bin/bash
  /usr/bin/bash
deps =
  -Ur{toxinidir}/docs/requirements.txt
changedir = {toxinidir}/docs
commands =
  sphinx-build source build
  sphinx-build -b latex source build

#[testenv:format]
#deps =
#    black
#commands =
#    #pycodestyle -qq --statistics --count --ignore=E221,E203,E402 --max-line-length=90 pymzml
#    black --check pymzml

[testenv:coverage]
passenv =
  CI TRAVIS TRAVIS_*
deps =
  numpy
commands =
  pip install -e .
  pip install -q -r {toxinidir}/requirements_dev.txt
  coverage erase
  coverage run {envbindir}/pytest
  coverage report --omit=".tox/*","tests/*"
  codecov

[testenv:example_scripts]
deps =
  numpy
commands =
  pip install -Ur{toxinidir}/requirements.txt
  python example_scripts/access_run_info.py
  python example_scripts/compare_spectra.py
  python example_scripts/extract_ion_chromatogram.py
  python example_scripts/extreme_values.py
  python example_scripts/get_precursors.py
  python example_scripts/has_peak.py
  python example_scripts/highest_peaks.py