forked from feature-engine/feature_engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (36 loc) · 770 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
55
[tox]
envlist = py36, py37, py38, docs, stylechecks, typechecks
skipsdist = true
[testenv]
install_command = pip install {opts} {packages}
envdir = {toxworkdir}/unit_tests
setenv =
PYTHONPATH=.
commands =
pytest tests
[testenv:py36]
deps =
-rtest_requirements.txt
[testenv:py37]
deps =
-rtest_requirements.txt
[testenv:py38]
deps =
-rtest_requirements.txt
[testenv:docs]
deps =
-r docs/requirements.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[testenv:stylechecks]
deps =
flake8
commands = {posargs:flake8 feature_engine tests}
[testenv:typechecks]
deps =
mypy
commands = {posargs:mypy feature_engine}
[flake8]
exclude = .git,env
# match black code formatter
max-line-length = 88