File: tox.ini

package info (click to toggle)
python-cdsapi 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: python: 670; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 525 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
[tox]
envlist = qc, py312, py311, py310, py39, py38, pypy3, pypy, deps

[testenv]
setenv = PYTHONPATH = {toxinidir}
deps = -r{toxinidir}/tests/requirements-tests.txt
commands = pytest -v --flakes --cache-clear --basetemp={envtmpdir} {posargs}

[testenv:qc]
# needed for pytest-cov
usedevelop = true
commands = pytest -v --pep8 --mccabe --cov=cdsapi --cov-report=html --cache-clear {posargs}

[testenv:deps]
deps =
commands = python setup.py test


[black]
line_length=120
[isort]
profile=black
[flake8]
max-line-length = 120