-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (32 loc) · 751 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
[tox]
envlist = py37,
py38,
py39,
py310,
py311,
py312,
coverage,
lint
skip_missing_interpreters = true
[testenv]
commands = pytest {posargs}
description = Run pytest
[testenv:coverage]
deps = coverage
basepython = python3.11
parallel_show_output=true
commands =
coverage run -m pytest
coverage report --fail-under=100 --show-missing
description = Run pytest, with coverage
[testenv:lint]
skip_install = true
deps = ruff
basepython = python3.11
commands = python -m ruff pytest_crayons.py tests examples
description = Run ruff over pytest_crayons, test, exampless
[pytest]
addopts = --strict-markers --strict-config -ra --color=yes
testpaths =
examples
tests