forked from urwid/urwid
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
60 lines (54 loc) · 1.02 KB
/
tox.ini
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
55
56
57
58
59
60
[tox]
envlist = py3{7,8,9,10,11},pypy3,isort,black,ruff
skip_missing_interpreters = True
[testenv]
usedevelop = true
deps = -r {toxinidir}/test_requirements.txt
commands =
coverage run -m unittest discover -s urwid -v
coverage report
[testenv:readme]
deps =
twine build
commands =
python -m build
twine check {toxinidir}/dist/*
[testenv:isort]
skip_install = true
deps =
isort
commands =
isort \
urwid/event_loop \
urwid/widget \
urwid/font.py \
urwid/escape.py \
urwid/command_map.py \
urwid/graphics.py \
examples
[testenv:black]
skip_install = true
depends = isort
deps =
black
commands =
black \
urwid/event_loop \
urwid/widget \
urwid/font.py \
urwid/escape.py \
urwid/command_map.py \
urwid/graphics.py \
examples
[testenv:ruff]
skip_install = true
depends = black,isort
deps = ruff
commands = ruff \
urwid/event_loop \
urwid/widget \
urwid/font.py \
urwid/escape.py \
urwid/command_map.py \
urwid/graphics.py \
examples