-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathtox.ini
More file actions
77 lines (64 loc) · 1.27 KB
/
tox.ini
File metadata and controls
77 lines (64 loc) · 1.27 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[tox]
envlist = flake8, pydocstyle, py39, py310
[gh-actions]
python =
3.9: py39
3.10: py310
[testenv:py27]
commands =
python -m pytest --doctest-modules scholia
python -m pytest tests
deps=
pytest
-rrequirements.txt
[testenv:py35]
commands =
python -m pytest --doctest-modules scholia
python -m pytest tests
deps=
pytest
-rrequirements.txt
[testenv:py37]
commands =
python -m pytest --doctest-modules scholia
python -m pytest tests
deps=
pytest
-rrequirements.txt
[testenv:py38]
commands =
python -m pytest --doctest-modules scholia
python -m pytest tests
deps=
pytest
-rrequirements.txt
[testenv:py39]
commands =
python -m pytest --doctest-modules scholia
python -m pytest tests
deps=
pytest
-rrequirements.txt
[testenv:py310]
commands =
python -m pytest --doctest-modules scholia
python -m pytest tests
deps=
pytest
-rrequirements.txt
[testenv:flake8]
commands = flake8 scholia
deps =
flake8
flake8-docstrings
[testenv:pydocstyle]
commands = pydocstyle --convention=numpy scholia
deps =
pydocstyle
[testenv:docs]
description = Build Sphinx documentation
deps =
-rrequirements.txt
-rdocs/requirements.txt
commands =
sphinx-build -b html docs docs/_build/html