-
Notifications
You must be signed in to change notification settings - Fork 275
/
tox.ini
54 lines (47 loc) · 814 Bytes
/
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
[tox]
envlist = py3
isolated_build = true
[testenv]
allowlist_externals =
make
echo
skip_install = true
deps =
-r requirements_dev.txt
-r requirements_backend.txt
.[pyquery,cssselect]
[testenv:py3-test]
commands =
make pytest
[testenv:python38-test]
commands =
make pytest
basepython=/opt/python38/bin/python3.8
[testenv:py3-check]
commands =
python -V
echo "pylint"
make pylint
echo "flake8"
make flake8
echo "OK"
[testenv:python38-check]
commands =
python -V
make check
#echo "pylint"
#make pylint
#echo "flake8"
#make flake8
#echo "OK"
basepython=/opt/python38/bin/python3.8
[testenv:python38-mypy]
commands =
python -V
make mypy
basepython=/opt/python38/bin/python3.8
[testenv:eradicate]
deps =
flake8
flake8-eradicate
commands = {posargs}