forked from wkeeling/selenium-wire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (33 loc) · 659 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
[tox]
envlist =
py37
py38
py39
isort
black
flake8
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-rrequirements.txt
commands =
pytest -s -vv --tb=native --cov=seleniumwire --cov-report=xml tests/seleniumwire
[testenv:isort]
deps =
isort
commands =
isort --skip "seleniumwire/thirdparty" --check-only seleniumwire tests
[testenv:black]
deps =
black
commands =
black --config=pyproject.toml --extend-exclude "seleniumwire/thirdparty" --check seleniumwire tests
[testenv:flake8]
deps =
flake8
commands =
flake8 seleniumwire
[testenv:e2e]
commands =
pytest -s -vv --tb=native tests/end2end