-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (48 loc) · 778 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
[tox]
envlist =
pre-commit
format
type
py39
py310
py311
[testenv:pre-commit]
basepython =
python3.9
skipsdist =
true
deps =
pre-commit
commands = pre-commit run --all-files
[testenv:format]
description =
install black in a virtual environment and invoke it on the current folder.
basepython =
python3.9
deps =
black
isort
commands =
black tests/
black llmnet/
isort tests/
isort llmnet/
[testenv]
description =
run pytests, generate coverage report.
deps =
pytest==7.2.0
pytest-cov
coverage
commands =
coverage run --source=llmnet -m pytest -vvvv
coverage report -m
[testenv:type]
description =
Run type checking with mypy.
basepython =
python3.9
deps =
mypy
commands =
mypy --ignore-missing-imports llmnet/