forked from jupyter-widgets/ipydatagrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
62 lines (56 loc) · 1.13 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
61
62
[tox]
envlist =
fix
py310
py39
py38
py37
py36
pypy3
docs
pkg_desc
isolated_build = true
skip_missing_interpreters = true
minversion = 3.7
[testenv]
extras =
test
commands =
pytest {tty:--color=yes} tests
pytest --nbval examples
package = wheel
wheel_build_env = .pkg
[testenv:fix]
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
passenv =
PROGRAMDATA
skip_install = true
deps =
pre-commit>=2
commands =
pre-commit run --all-files --show-diff-on-failure
[testenv:pkg_desc]
description = check that the long description is valid
skip_install = true
deps =
build[virtualenv]>=0.7
twine>=3.7
commands =
python -m build --sdist --wheel . -o {envtmpdir}
twine check {envtmpdir}/*
[testenv:dev]
description = dev environment with all deps at {envdir}
usedevelop = true
extras =
dev
test
commands =
python -m pip list --format=columns
python -c "print(r'{envpython}')"
[flake8]
max-complexity = 22
max-line-length = 80
extend-ignore = E203, W503
noqa-require-code = true
[pep8]
max-line-length = 80