forked from 7x11x13/selenium-wire-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (41 loc) · 712 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
41
42
43
44
45
46
47
[tox]
env_list =
py{312}
e2e
isort
black
flake8
mypy
[testenv]
passenv =
CHROMIUM_PATH
CHROMEDRIVER_PATH
setenv =
PYTHONPATH = {toxinidir}
deps =
-e.[test]
commands =
pytest -s -vv --tb=native --cov=seleniumwire2 --cov-report=xml tests/seleniumwire
[testenv:e2e]
commands =
pytest -s -vv --tb=native tests/end2end
[testenv:isort]
deps =
isort
commands =
isort --check-only seleniumwire2 tests
[testenv:black]
deps =
black
commands =
black --config=pyproject.toml --check seleniumwire2 tests
[testenv:flake8]
deps =
flake8
commands =
flake8 seleniumwire2
[testenv:mypy]
deps =
mypy
commands =
mypy --config-file pyproject.toml