-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
48 lines (43 loc) · 859 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
[tox]
env_list =
lint, fetchdata, docs, py{38, 39, 310, 311, 312}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
description = run unit tests
deps =
pytest>=7
commands =
pytest tests
[testenv:lint]
description = run linters
skip_install = true
deps =
black[jupyter]>=23
commands = black .
[testenv:fetchdata]
description = fetch updated gene data from IMGT/HGNC
skip_install = true
deps =
bs4
pandas
pyarrow
odfpy
requests
commands =
python scripts/homosapiens_catalogue_mh.py
python scripts/homosapiens_catalogue_tr.py
python scripts/musmusculus_catalogue_mh.py
python scripts/musmusculus_catalogue_tr.py
[testenv:docs]
description = build sphinx docs
deps =
sphinx>=6
sphinx-book-theme
commands =
sphinx-build docs docs/_build