File: tox.ini

package info (click to toggle)
python-itemadapter 0.2.0-1~bpo10%2B1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 184 kB
  • sloc: python: 844; sh: 8; makefile: 4
file content (38 lines) | stat: -rw-r--r-- 778 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
[tox]
envlist = flake8,typing,black,py36,py37,py38

[testenv]
deps =
    -rtests/requirements.txt
commands =
    pytest --verbose --cov=itemadapter --cov-report=term-missing --cov-report=html --cov-report=xml --doctest-glob=README.md {posargs: itemadapter README.md tests}

[testenv:py36]
basepython = python3.6

[testenv:py37]
basepython = python3.7

[testenv:py38]
basepython = python3.8

[testenv:flake8]
basepython = python3.8
deps =
    flake8>=3.7.9
commands =
    flake8 --exclude=.git,.tox,venv* itemadapter tests

[testenv:typing]
basepython = python3.8
deps =
    mypy==0.770
commands =
    mypy --ignore-missing-imports --follow-imports=skip itemadapter

[testenv:black]
basepython = python3.8
deps =
    black>=19.10b0
commands =
    black --check itemadapter tests