forked from relatio-nlp/relatio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (45 loc) · 902 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
[tox]
minversion = 3.23
envlist = py37,py38,py39,dev
[testenv]
usedevelop = True
download = True
deps =
pytest>=6
coverage>5
pytest-cov>2
black==22.1.0
isort==5.10.1
commands =
python -m spacy download en_core_web_sm
python -m nltk.downloader punkt wordnet stopwords averaged_perceptron_tagger omw-1.4
pytest --cov=relatio
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.1.0
isort==5.10.1
mypy
pylint
flake8
pydocstyle
bandit
pre-commit
ipython
ipykernel
commands =
python -m spacy download en_core_web_sm
python -m nltk.downloader punkt wordnet stopwords averaged_perceptron_tagger omw-1.4
[flake8]
ignore = E203, E501, E722
[pycodestyle]
ignore = E203, E501, E722