File: setup.cfg

package info (click to toggle)
python-webvtt 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 640 kB
  • sloc: python: 3,777; makefile: 29; sh: 6
file content (43 lines) | stat: -rw-r--r-- 597 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
[metadata]
description_file = README.rst

[flake8]
doctests = true
radon-max-cc=10

[tox:tox]
envlist =
    codestyle
    py
    coverage
isolated_build = True

[coverage:run]
source = webvtt
branch = true

[coverage:report]
fail_under = 100

[testenv]
deps =
    coverage
description = run the tests and provide coverage metrics
commands =
    coverage run -m unittest discover

[testenv:codestyle]
deps =
    flake8
    flake8-docstrings
    radon
    mypy
commands =
    flake8 webvtt setup.py
    mypy webvtt

[testenv:coverage]
deps = coverage
commands =
    coverage xml
    coverage report