blob: 3f77ea97db40ea1d0e8b4225f48ea26f7d8a997b (
plain)
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
|
[tox]
envlist=py{36,37,38,39,310}-{test,selfcheck},check_readme,check-dist
[pytest]
testpaths=testing
filterwarnings=
error
ignore:.*tool\.setuptools_scm.*
markers=
issue(id): reference to github issue
skip_commit: allows to skip commiting in the helpers
# disable unraisable until investigated
addopts = -p no:unraisableexception
[flake8]
max-complexity = 10
max-line-length = 88
ignore=E203,W503
[testenv]
usedevelop=True
skip_install=
selfcheck: True
test: False
deps=
pytest
setuptools >= 45
tomli
virtualenv>20
commands=
test: pytest []
selfcheck: python setup.py --version
[testenv:check_readme]
skip_install=True
setenv = SETUPTOOLS_SCM_PRETEND_VERSION=2.0
deps=
check-manifest
docutils
pygments
commands=
rst2html.py README.rst {envlogdir}/README.html --strict []
check-manifest
[testenv:check_dist]
deps=
build
twine
commands=
python -m build
twine check dist/*
#XXX: envs for hg versions
|