-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
51 lines (45 loc) · 1012 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
[tox]
isolated_build = true
envlist =
py{39}
style
typing
skipdist = false
[gh-actions]
python =
3.9: py39
[testenv]
passenv = *
deps =
pytest
pytest-cov
pytest-dotenv
pytest-asyncio
git+https://github.com/tellor-io/telliot-core.git@main#egg=telliot_core
commands =
pip install eth-brownie
pip install PyYAML==6.0
pip install multicall
pip install simple-term-menu
telliot-core --version
- pytest --cov --cov-report xml
[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files
[testenv:typing]
deps =
mypy
mypy-extensions
types-requests
types-PyYAML
commands = mypy --strict --install-types --non-interactive src --implicit-reexport --ignore-missing-imports --disable-error-code misc
[testenv:docs]
description = invoke sphinx-build to build the HTML docs
basepython = python3.9
deps =
mkdocs-material
mkdocstrings[python]
commands =
pip install Pygments==2.12.0
mkdocs build -v