forked from authomatic/authomatic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (34 loc) · 835 Bytes
/
tox.ini
File metadata and controls
35 lines (34 loc) · 835 Bytes
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
[tox]
envlist=py310
skip_install=true
skipsdist=true
[testenv]
# chromedriver-binary version must be kept in step with installed google-chrome version
deps=
chromedriver-binary-auto
flask
pycodestyle
pylint
pyramid
pytest
pycodestyle
pytest-httpx
selenium
liveandletdie
pyopenssl
pyvirtualdisplay
django
python3-openid
jinja2
passenv=FUNCTIONAL_TESTS_CONFIG
setenv =
PYTHONPATH = {toxinidir}
commands=
pylint --errors-only --ignore=six.py authomatic
# Ignore 'imports not at start', 'line-too-long', 'break before binary operator' (deprecated)
pycodestyle --ignore=E402,E501,W503 --exclude=six.py authomatic
bash -c 'PATH=$PATH:$(chromedriver-path) py.test -vv --tb=line tests/functional_tests/'
allowlist_externals =
bash
pylint
pycodestyle