-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
36 lines (31 loc) · 686 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
[tox]
envlist = py{36,37,38}, flake8, black, mypy, license
[testenv]
sitepackages = False
deps =
pytest
commands = pytest {posargs}
[testenv:flake8]
skip_install = True
deps =
flake8
commands =
flake8 {posargs:--count --show-source --statistics}
[testenv:black]
skip_install = True
deps =
black
commands =
black {posargs:--check setup.py hiplot_mlflow.py tests}
[testenv:mypy]
skip_install = True
deps =
mypy
commands =
mypy {posargs:--ignore-missing-imports hiplot_mlflow.py}
[testenv:license]
skip_install = True
deps =
apache-license-check
commands =
apache-license-check setup.py hiplot_mlflow.py tests --copyright "Faculty Science Limited"