forked from gorilla-co/odata-query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (40 loc) · 849 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
[tox]
envlist = py37, py38, py39, linting, docs
skip_missing_interpreters = True
isolated_build = True
[gh-actions]
python =
3.7: py37
3.8: py38, linting, docs
3.9: py39
[testenv:linting]
basepython = python3.8
extras =
linting
commands =
flake8 --show-source odata_query tests
black --check --diff odata_query tests
isort --check-only odata_query tests
mypy --ignore-missing-imports -p odata_query
vulture odata_query/ --min-confidence 80
[testenv:docs]
basepython = python3.8
extras =
docs
django
sqlalchemy
changedir =
docs/
commands =
sphinx-build source build
[testenv]
extras =
testing
django
sqlalchemy
setenv =
DJANGO_SETTINGS_MODULE = tests.integration.django.settings
passenv =
PYTHONBREAKPOINT
commands =
pytest {posargs:tests/unit/ tests/integration/}