Skip to content

Commit 76a51d0

Browse files
committed
rearrange tox.ini
1 parent e341c70 commit 76a51d0

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

tox.ini

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
[pytest]
2-
pythonpath = . tests
3-
DJANGO_SETTINGS_MODULE = django_minio_storage_tests.settings
4-
addopts=--tb=short
5-
python_files = tests.py test_*.py *_tests.py
6-
django_find_project = false
1+
[tox]
2+
envlist =
3+
{py38,py39,py310,py311}-django42-minioknown
4+
py311-django{32,42}-minioknown
5+
py311-django42-minio
6+
lint
7+
docs
8+
pyright
79

810
[gh-actions]
911
python =
@@ -12,6 +14,12 @@ python =
1214
3.10: py310
1315
3.11: py311, lint, docs, pyright
1416

17+
[pytest]
18+
pythonpath = . tests
19+
DJANGO_SETTINGS_MODULE = django_minio_storage_tests.settings
20+
addopts=--tb=short
21+
python_files = tests.py test_*.py *_tests.py
22+
django_find_project = false
1523

1624
[testenv]
1725
commands = pytest {posargs}
@@ -41,7 +49,7 @@ commands =
4149
depends=py311-django42-minioknown
4250

4351
[testenv:pyright]
44-
basepython = python3.11
52+
basepython = python3
4553
deps =
4654
pyright
4755
-rdev-requirements.txt
@@ -81,11 +89,3 @@ basepython = python3
8189
deps = mkdocs
8290
commands = mkdocs build
8391

84-
[tox]
85-
envlist =
86-
{py38,py39,py310,py311}-django42-minioknown
87-
py311-django{32,42}-minioknown
88-
py311-django42-minio
89-
lint
90-
docs
91-
pyright

0 commit comments

Comments
 (0)