-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtox.ini
executable file
·67 lines (60 loc) · 1.38 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
63
64
65
66
67
[tox]
skipsdist = True
envlist = lint, type, py{310,311}, pypy, fast, slow, jupyter
[testenv]
skip_install = false
allowlist_externals =
ulimit
export
whitelist_externals =
bash
commands =
ulimit -n 50000
pip install -U pip wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
python -W ignore -m pytest tests/core negmas
[testenv:lint]
description = run linters (black)
skip_install = true
deps =
black==22.12
commands = black {posargs:negmas tests}
[testenv:type]
description = run type checks
skip_install = true
deps =
mypy>=0.991
commands =
mypy {posargs:negmas}
[testenv:pypy]
whitelist_externals =
bash
[testenv:slow]
skip_install = false
commands =
ulimit -n 50000
pip install -U pip wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
python -W ignore -m pytest negmas tests
[testenv:jupyter]
skip_install = false
commands =
ulimit -n 50000
pip install -U pip wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
python -W ignore -m pytest tests/optional/test_jupyter.py
[testenv:fast]
skip_install = false
commands =
ulimit -n 50000
pip install -U pip wheel
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
python -W ignore -m pytest negmas