File: tox.ini

package info (click to toggle)
setuptools-scm 9.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,108 kB
  • sloc: python: 7,068; sh: 18; makefile: 7
file content (47 lines) | stat: -rw-r--r-- 677 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=py{38,39,310,311,312,313},check_readme,check-dist
requires= tox>4

[flake8]
max-complexity = 10
max-line-length = 88
ignore=E203,W503

[testenv]
usedevelop=True
dependency_groups = test
deps =
    pytest
    pytest-cov
    pytest-timeout
    pytest-xdist
commands=
    python -X warn_default_encoding -m pytest {posargs}



[testenv:check_readme]
skip_install=True
deps=
    check-manifest
    docutils
    pygments
    typing_extensions
    hatchling
    rich
commands=
    check-manifest --no-build-isolation

[testenv:check_dist]
skip_install = true
deps=
    build
    twine
commands=
    python -m build
    twine check dist/*




#XXX: envs for hg versions