mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
fix: make tox use the wheel
This commit is contained in:
parent
a7901c7c17
commit
44f984c84b
2 changed files with 12 additions and 3 deletions
|
@ -35,11 +35,18 @@ exclude = [
|
||||||
'.env',
|
'.env',
|
||||||
'.venv',
|
'.venv',
|
||||||
'.tox',
|
'.tox',
|
||||||
|
'build',
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
check_untyped_defs = true
|
check_untyped_defs = true
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
exclude = [
|
exclude = [
|
||||||
'test_structures'
|
'test_structures',
|
||||||
]
|
'build',
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = [
|
||||||
|
"tests"
|
||||||
|
]
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -30,6 +30,8 @@ python =
|
||||||
fail_on_no_env = True
|
fail_on_no_env = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
package = wheel
|
||||||
|
wheel_build_env = .pkg
|
||||||
deps =
|
deps =
|
||||||
django32: Django>=3.2,<3.3
|
django32: Django>=3.2,<3.3
|
||||||
django40: Django>=4.0,<4.1
|
django40: Django>=4.0,<4.1
|
||||||
|
@ -55,7 +57,7 @@ commands =
|
||||||
changedir = {toxinidir}
|
changedir = {toxinidir}
|
||||||
deps = isort
|
deps = isort
|
||||||
commands =
|
commands =
|
||||||
isort --check-only --diff django_components
|
isort --check-only --diff src/django_components
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
changedir = {toxinidir}
|
changedir = {toxinidir}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue