File: tox.ini

package info (click to toggle)
pytest-console-scripts 1.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: python: 812; makefile: 2
file content (54 lines) | stat: -rw-r--r-- 1,086 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# For more information about tox, see https://tox.readthedocs.org/en/latest/
[tox]
envlist = clean,lint,py38,py39,py310,py311,pypy3,report

[testenv]
deps =
    pytest
    pytest-cov
usedevelop = true
commands = pytest tests --cov=pytest_console_scripts --cov-append --cov-report=term-missing {posargs}
depends =
    {py38,py39,py310,py311,pypy3}: clean
    report: py38,py39,py310,py311,pypy3

[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase

[testenv:report]
deps = coverage
skip_install = true
commands =
    coverage report
    coverage html

[testenv:report_ci]
deps = coverage
skip_install = true
commands = coverage xml

[testenv:lint]
basepython = python
usedevelop = true

deps =
    check-manifest
    readme_renderer[md]
    flake8
    flake8-docstrings
    flake8-commas
    pep8-naming
    mypy
    types-setuptools

commands =
    check-manifest --ignore *.ini,tests*,.*.yml,demo*,_version.py
    flake8 pytest_console_scripts tests
    mypy pytest_console_scripts tests

[flake8]
exclude = .tox,*.egg,build
select = E,W,F
ignore = W503,W504