forked from dandi/dandi-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (36 loc) · 773 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
[tox]
envlist = lint,typing,py3
isolated_build = True
[testenv]
extras = test
passenv =
DANDI_TESTS_NONETWORK
DATACITE_DEV_PASSWORD
NO_ET
commands =
pytest -v {posargs} dandischema
[testenv:lint]
skip_install = true
deps =
codespell~=2.0
flake8
commands =
codespell dandischema setup.py
flake8 --config=setup.cfg {posargs} dandischema setup.py
[testenv:typing]
deps =
mypy
types-jsonschema
types-requests
extras = test
commands =
mypy dandischema
[pytest]
addopts = --cov=dandischema --tb=short --durations=10
filterwarnings =
error
# <https://github.com/dateutil/dateutil/issues/1284>
ignore:.*utcfromtimestamp.* is deprecated:DeprecationWarning:dateutil
[coverage:run]
parallel = True
source = dandischema