File: tox.ini

package info (click to toggle)
python-num2words 0.5.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,832 kB
  • sloc: python: 27,073; makefile: 3
file content (38 lines) | stat: -rw-r--r-- 693 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
[tox]
envlist = py37,py38,py39,py310,py311,py312,flake8,isort

[gh-actions]
python =
    3.7: py37
    3.8: py38
	3.9: py39
	3.10: isort, flake8, py310
    3.11: py311
    3.12: py312


[testenv]
passenv = GITHUB_*
deps =
    coverage
    delegator.py
commands =
    coverage run -m unittest discover
    coverage report --fail-under=75 --omit=.tox/*,tests/*,/usr/*
    coverage report --fail-under=100 --include=tests/* --skip-covered

[testenv:flake8]
changedir = {toxinidir}
deps =
    flake8==5.0.4
    flake8-copyright
commands =
    flake8

[testenv:isort]
changedir = {toxinidir}
deps =
    isort
    delegator.py
commands =
    isort --check-only --float-to-top --diff num2words tests