File: tox.ini

package info (click to toggle)
urwid 3.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,232 kB
  • sloc: python: 29,010; javascript: 382; sh: 34; makefile: 22
file content (47 lines) | stat: -rw-r--r-- 795 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
[tox]
envlist = py3{9,10,11,12,13,14},pypy3,ruff,pylint,refurb
skip_missing_interpreters = True

[testenv]
usedevelop = true
deps = -r {toxinidir}/test_requirements.txt

commands =
  coverage run -m unittest discover -s tests -v
  coverage report

[testenv:readme]
deps =
  twine
  build
commands =
  python -m build
  twine check {toxinidir}/dist/*

[testenv:ruff]
skip_install = true
depends =
deps = ruff
commands =
  ruff format --check .
  ruff check .

[testenv:docs]
deps =
  -r {toxinidir}/test_requirements.txt
  PyGObject
  sphinx
commands = sphinx-build docs/ build/documentation

[testenv:pylint]
depends = ruff
deps =
  -r {toxinidir}/test_requirements.txt
  PyGObject
  pylint
commands = pylint urwid

[testenv:refurb]
depends = ruff
deps = refurb
commands = refurb urwid examples