forked from theatlantic/python-active-directory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (37 loc) · 861 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
[tox]
envlist =
{python2.7,python3.6,python3.7}
[testenv]
skipsdist = true
skip_install = true
passenv = PYAD_READONLY_CONFIG PYAD_TEST_CONFIG
commands =
python setup.py build
python setup.py install
pytest tests
deps =
six
python-ldap>=3.0
dnspython
ply==3.8
pytest
pexpect
[testenv:pep8]
description = Run PEP8 pycodestyle (flake8) against the djxml/ package directory
skipsdist = true
skip_install = true
basepython = python3.7
deps = pycodestyle
commands = pycodestyle lib/activedirectory
[testenv:clean]
description = Clean all build and test artifacts
skipsdist = true
skip_install = true
deps =
whitelist_externals =
find
rm
commands =
find {toxinidir} -type f -name "*.pyc" -delete
find {toxinidir} -type d -name "__pycache__" -delete
rm -rf {toxworkdir} {toxinidir}/build {toxinidir}/dist