-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
41 lines (36 loc) · 826 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
[tox]
minversion = 2.0
envlist =
py37
# Tox' sdist feature presumes that `./setup.py sdist` is available
# Disable this feature until PEP-517 is implemented by both tox and flit.
skipsdist = true
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_testing.txt
commands =
python -m pytest {posargs}
[testenv:codestyle]
skip_install = true
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_codestyle.txt
commands =
flake8 {posargs} bitswap
[flake8]
ignore = E222,E221,F403,E265
exclude = .venv,.git,.tox,+junk,dist,doc,*egg,build,tools,test,docs,*__init__.py,*_pb2.py
max-line-length = 120
[pytest]
python_files =
test_*.py
*_test.py
tests.py
addopts =
; --doctest-modules
bitswap
test
test/message
test/wantlist
test/decision_engine