-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
60 lines (50 loc) · 883 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
48
49
50
51
52
53
54
55
56
57
58
59
60
[tox]
envlist = py27,py37,pypy27,pypy3,py37-flake8
recreate = True
[testenv]
usedevelop = True
deps =
pytest
pytest-cov
coverage_pth
coverage
s3lib
tqdm
commands =
pytest --cov farmfs --cov-report= {posargs}
- coverage combine --append
coverage report -m
coverage html -i
[testenv:lint]
deps =
yapf
isort
commands =
yapf -d --recursive farmfs
isort --check-only --recursive farmfs
[testenv:{py27,py37}-flake8]
deps =
flake8
commands =
flake8 farmfs tests perf
[flake8]
# E302 - Two blank lines after a function.
ignore = E731, E302, E306
max-line-length = 160
[testenv:{py37,py27,pypy,pypy3}-perf]
usedevelop = True
deps =
pytest
tabulate
functional
compose
commands =
pytest -s perf/transducer.py {posargs}
[coverage:run]
branch = True
source = farmfs
parallel = True
[coverage:paths]
source =
.
*/site-packages