229.3.1
by Christopher Glass
* Added semaphore helper in util.py. |
1 |
[tox]
|
246
by Christopher Glass
Changed tox file to not specify which sub version of python3 to use. |
2 |
envlist = lint,py3 |
229.3.1
by Christopher Glass
* Added semaphore helper in util.py. |
3 |
skipsdist = True |
4 |
||
5 |
[testenv]
|
|
280.1.2
by Haw Loeung
Switch to pytest and fix unit tests |
6 |
basepython = python3 |
7 |
setenv = |
|
8 |
PYTHONPATH = .
|
|
9 |
||
10 |
[testenv:unit]
|
|
11 |
commands = |
|
12 |
pytest --ignore {toxinidir}/tests/functional \
|
|
288.1.4
by Haw Loeung
Fixed warning about no coverage test for actions because it doesn't exist |
13 |
{posargs:-v --cov=lib --cov=reactive --cov-report=term-missing --cov-branch}
|
280.1.2
by Haw Loeung
Switch to pytest and fix unit tests |
14 |
deps = -r{toxinidir}/tests/unit/requirements.txt |
15 |
-r{toxinidir}/requirements.txt
|
|
16 |
setenv = |
|
17 |
PYTHONPATH={toxinidir}/lib
|
|
18 |
TZ=UTC
|
|
19 |
||
20 |
[testenv:black]
|
|
21 |
commands = black --skip-string-normalization --line-length=120 . |
|
22 |
deps = black |
|
229.3.1
by Christopher Glass
* Added semaphore helper in util.py. |
23 |
|
24 |
[testenv:lint]
|
|
25 |
deps= |
|
26 |
flake8
|
|
27 |
commands= |
|
269.2.1
by Haw Loeung
Convert to reactive framework |
28 |
flake8
|
249.1.1
by Haw Loeung
PEP8 fixes |
29 |
|
30 |
[flake8]
|
|
269.2.1
by Haw Loeung
Convert to reactive framework |
31 |
exclude = |
32 |
.bzr,
|
|
33 |
__pycache__,
|
|
34 |
.tox,
|
|
249.1.1
by Haw Loeung
PEP8 fixes |
35 |
max-line-length = 120 |
36 |
max-complexity = 14 |