forked from gtimelog/gtimelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (49 loc) · 1.09 KB
/
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
[tox]
envlist =
py37,py38,py39,py310,py311,py312,pypy3,flake8
[testenv]
setenv =
LC_ALL=C
deps =
freezegun
skip_install = true
commands_pre =
pip install --no-deps -e . --disable-pip-version-check --quiet
commands =
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
[testenv:check-manifest]
deps = check-manifest
skip_install = true
commands = check-manifest {posargs}
[testenv:check-python-versions]
deps = check-python-versions
skip_install = true
commands = check-python-versions {posargs}