-
Notifications
You must be signed in to change notification settings - Fork 27
/
tox.ini
57 lines (52 loc) · 1.14 KB
/
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
[tox]
minversion = 3.23
envlist = py37,py38,py39,dev
[testenv]
usedevelop = True
download = True
deps =
pytest>=6
coverage>5
pytest-cov>2
black>22
isort>5
commands =
python -m spacy download en_core_web_sm
python -m spacy download en_core_web_md
python -m nltk.downloader wordnet
python -m pip install allennlp allennlp-models
python -c 'import gensim.downloader as api; api.load("glove-twitter-25");'
pip install cached-path==1.1.3
pytest --cov=relatio -v
black --check .
isort . --check-only
[testenv:dev]
basepython = python3.7
usedevelop = True
download = True
deps =
build
twine
pytest>=6
coverage>5
pytest-cov>2
black>22
isort>5
mypy
pylint
flake8
pydocstyle
bandit
pre-commit
ipython
ipykernel
commands =
python -m spacy download en_core_web_sm
python -m spacy download en_core_web_md
python -m nltk.downloader wordnet
python -m pip install allennlp allennlp-models
python -c 'import gensim.downloader as api; api.load("glove-twitter-25");'
[flake8]
ignore = E203, E501, E722
[pycodestyle]
ignore = E203, E501, E722