forked from capitalone/DataProfiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (45 loc) · 1.26 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
[tox]
envlist = py37, py38, py39, py310, docs, pypi-description, manifest, precom
[testenv]
# extras =
# tests
setenv =
DATAPROFILER_SEED=0
deps =
pytest
pytest-cov
-rrequirements.txt
-rrequirements-dev.txt
-rrequirements-ml.txt
-rrequirements-reports.txt
-rrequirements-test.txt
commands =
python3 -m pytest dataprofiler/tests/ --cov=dataprofiler --cov-fail-under=80 --cov-report=xml:dist/coverage.xml --forked
#[testenv:docs]
#extras = docs
#changedir = docs
#commands = sphinx-build -b html source _build
[testenv:pypi-description]
skip_install = true
deps =
twine
wheel
pip >= 19.0.0
commands =
python setup.py sdist bdist_wheel
twine check dist/*
[testenv:manifest]
deps = check-manifest
skip_install = true
commands = check-manifest
# skip isort for infinite loop issues between tox and top level settings
[testenv:precom]
skip_install = true
deps = pre-commit
commands =
pre-commit run black --all-files --verbose
# if you use the walrus operator on Python 3.8 disable the flake8 check
pre-commit run flake8 --all-files --verbose
pre-commit run trailing-whitespace --all-files --verbose
pre-commit run debug-statements --all-files --verbose
pre-commit run end-of-file-fixer --all-files --verbose