@@ -101,14 +101,11 @@ test-zarr-main = [
101101
102102[tool .setuptools ]
103103package-dir = {"" = " ." }
104- packages = [" numcodecs" , " numcodecs.tests " ]
104+ packages = [" numcodecs" ]
105105zip-safe = false
106106
107107[tool .setuptools .package-data ]
108- numcodecs = [
109- " tests/package_with_entrypoint/__init__.py" ,
110- " tests/package_with_entrypoint-0.1.dist-info/entry_points.txt"
111- ]
108+ numcodecs = []
112109
113110[tool .setuptools_scm ]
114111version_scheme = " guess-next-dev"
@@ -120,7 +117,7 @@ skip = "./.git,fixture"
120117ignore-words-list = " ba, compiletime, hist, nd, unparseable"
121118
122119[tool .coverage .run ]
123- omit = [" numcodecs/ tests/*" ]
120+ omit = [" tests/*" ]
124121
125122[tool .coverage .report ]
126123exclude_lines = [
@@ -139,7 +136,7 @@ doctest_optionflags = [
139136 " IGNORE_EXCEPTION_DETAIL" ,
140137]
141138testpaths = [
142- " numcodecs/ tests" ,
139+ " tests" ,
143140]
144141norecursedirs = [
145142 " .git" ,
@@ -230,7 +227,7 @@ ignore = [
230227]
231228
232229[tool .ruff .lint .extend-per-file-ignores ]
233- "numcodecs/ tests/**" = [" SIM201" , " SIM202" , " SIM300" , " TRY002" ]
230+ "tests/**" = [" SIM201" , " SIM202" , " SIM300" , " TRY002" ]
234231"notebooks/**" = [" W391" ] # https://github.com/astral-sh/ruff/issues/13763
235232
236233[tool .ruff .format ]
@@ -287,9 +284,9 @@ test-google-crc32c = ["test", "test-google-crc32c"]
287284ls-deps-312 = " uv run --group test-zarr-312 uv pip freeze"
288285ls-deps-313 = " uv run --group test-zarr-313 uv pip freeze"
289286ls-deps-main = " uv run --group test-zarr-main uv pip freeze"
290- test-zarr-312 = " uv run --group test-zarr-312 pytest --cov=numcodecs --cov-report=xml --cov-report=term numcodecs/ tests/test_zarr3.py numcodecs/ tests/test_zarr3_import.py"
291- test-zarr-313 = " uv run --group test-zarr-313 pytest --cov=numcodecs --cov-report=xml --cov-report=term numcodecs/ tests/test_zarr3.py numcodecs/ tests/test_zarr3_import.py"
292- test-zarr-main = " uv run --group test-zarr-main pytest --cov=numcodecs --cov-report=xml --cov-report=term numcodecs/ tests/test_zarr3.py numcodecs/ tests/test_zarr3_import.py"
287+ test-zarr-312 = " uv run --group test-zarr-312 pytest --cov=numcodecs --cov-report=xml --cov-report=term tests/test_zarr3.py tests/test_zarr3_import.py"
288+ test-zarr-313 = " uv run --group test-zarr-313 pytest --cov=numcodecs --cov-report=xml --cov-report=term tests/test_zarr3.py tests/test_zarr3_import.py"
289+ test-zarr-main = " uv run --group test-zarr-main pytest --cov=numcodecs --cov-report=xml --cov-report=term tests/test_zarr3.py tests/test_zarr3_import.py"
293290
294291[tool .pixi .feature .test .tasks ]
295292run-tests = " pytest -v"
0 commit comments