fix: make tox use the wheel

This commit is contained in:
Gabriel Dugny 2024-03-24 16:58:59 +01:00 committed by Emil Stenström
parent a7901c7c17
commit 44f984c84b
2 changed files with 12 additions and 3 deletions

View file

@ -35,11 +35,18 @@ exclude = [
'.env',
'.venv',
'.tox',
'build',
]
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
exclude = [
'test_structures'
]
'test_structures',
'build',
]
[tool.pytest.ini_options]
testpaths = [
"tests"
]

View file

@ -30,6 +30,8 @@ python =
fail_on_no_env = True
[testenv]
package = wheel
wheel_build_env = .pkg
deps =
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
@ -55,7 +57,7 @@ commands =
changedir = {toxinidir}
deps = isort
commands =
isort --check-only --diff django_components
isort --check-only --diff src/django_components
[testenv:coverage]
changedir = {toxinidir}