@@ -175,24 +175,24 @@ matrix.deps.dependency-groups = [
175175
176176[tool .hatch .envs .test .scripts ]
177177run-coverage = [
178- " COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --ignore tests/benchmarks --junitxml=junit.xml -o junit_family=legacy {args:}" ,
178+ " COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --dist loadgroup -- ignore tests/benchmarks --junitxml=junit.xml -o junit_family=legacy {args:}" ,
179179 " coverage combine" ,
180180 " coverage xml" ,
181181]
182182run-coverage-html = [
183- " COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --ignore tests/benchmarks {args:}" ,
183+ " COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -n auto --dist loadgroup -- ignore tests/benchmarks {args:}" ,
184184 " coverage combine" ,
185185 " coverage html" ,
186186]
187- run = " pytest -n auto --ignore tests/benchmarks {args:}"
187+ run = " pytest -n auto --dist loadgroup -- ignore tests/benchmarks {args:}"
188188run-verbose = " run-coverage --verbose"
189189run-mypy = " mypy src"
190190run-hypothesis = [
191- " COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -nauto --run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* {args:}" ,
191+ " COVERAGE_PROCESS_START=pyproject.toml coverage run -m pytest -nauto --dist loadgroup -- run-slow-hypothesis tests/test_properties.py tests/test_store/test_stateful* {args:}" ,
192192 " coverage combine" ,
193193 " coverage xml" ,
194194]
195- run-benchmark = " pytest -p no:xdist - -benchmark-enable tests/benchmarks"
195+ run-benchmark = " pytest --benchmark-enable tests/benchmarks"
196196serve-coverage-html = " python -m http.server -d htmlcov 8000"
197197list-env = " pip list"
198198
@@ -420,7 +420,6 @@ addopts = [
420420 " --benchmark-disable" , # benchmark routines run as tests without benchmarking instrumentation
421421 " --durations" , " 10" ,
422422 " -ra" , " --strict-config" , " --strict-markers" ,
423- " --dist" , " loadgroup" ,
424423]
425424filterwarnings = [
426425 " error" ,
0 commit comments