-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
58 lines (53 loc) · 819 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
53
54
55
56
57
58
[tox]
isolated_build = True
skip_missing_interpreters = true
requires =
poetry
pytest
envlist =
docs
py37
py38
py39
py310
py311
pypy3
[flake8]
exclude =
tests/*
docs
max-line-length = 88
ignore = ANN101,ANN401,ANN102,B008,D004
extend-ignore = W503,E203
[pytest]
addopts =
--cov-config=.coveragerc
--doctest-modules
--cov-report term-missing
--cov=mmdb
--cov=tests
--color=yes
pythonpath =
tests
mmdb
[doc8]
max-line-length = 88
[testenv]
deps =
pytest
poetry
extras =
docs
testing
commands =
poetry install
poetry run pytest --basetemp="{envtmpdir}" {posargs}
[testenv:docs]
deps =
poetry
sphinx
basepython = python3.9
extras = docs
changedir = docs
commands =
poetry run sphinx-build -b html . _build