forked from gorilla-co/odata-query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (44 loc) · 948 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]
envlist = py37-django3, py{38,39,310}-django{3,4}, linting, docs
skip_missing_interpreters = True
isolated_build = True
[gh-actions]
python =
3.7: py37
3.8: py38, linting, docs
3.9: py39
3.10: py310
[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]
deps =
django3: Django>=3.2,<4
django4: Django>=4,<5
extras =
testing
django
sqlalchemy
setenv =
DJANGO_SETTINGS_MODULE = tests.integration.django.settings
passenv =
PYTHONBREAKPOINT
commands =
pytest {posargs:tests/unit/ tests/integration/}