forked from gtimelog/gtimelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (40 loc) · 823 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
[tox]
envlist =
py36,py37,py38,pypy3,flake8
[testenv]
setenv =
LC_ALL=C
deps =
freezegun
skip_install = true
commands =
pip install --no-deps -e .
python -m gtimelog.tests
[testenv:coverage]
basepython = python3
deps =
freezegun
coverage
-cconstraints.txt
skip_install = true
commands =
pip install --no-deps -e .
coverage run {posargs} -m gtimelog.tests
coverage report -m --fail-under=100
[testenv:py]
deps =
freezegun
skip_install = true
commands =
python --version
{[testenv]commands}
[testenv:flake8]
basepython = python3
deps = flake8
skip_install = true
commands = flake8 src setup.py gtimelog runtests
[testenv:isort]
basepython = python3
deps = isort
skip_install = true
commands = isort {posargs: -c --diff} src setup.py gtimelog runtests benchmark.py