File: tox.ini

package info (click to toggle)
codetiming 1.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 128 kB
  • sloc: python: 368; makefile: 11
file content (27 lines) | stat: -rw-r--r-- 573 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
[tox]
isolated_build = true
envlist = py, style


[testenv]
deps =
    pytest
    pytest-cov
commands =
    {envpython} -m pytest --cov=codetiming --cov-fail-under=100 --cov-report=term-missing


[testenv:style]
skip_install = true
deps = 
    black
    flake8
    interrogate
    isort
    mypy
commands = 
    {envpython} -m black --check --quiet codetiming/ tests/
    {envpython} -m flake8 codetiming/ tests/
    {envpython} -m interrogate --quiet --config=pyproject.toml
    {envpython} -m isort --check codetiming/ tests/
    {envpython} -m mypy --strict codetiming/