Skip to content

Commit

Permalink
(fix): add async test setting + deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan-gold committed Aug 23, 2024
1 parent cd8d1a8 commit 06be9e4
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
40 changes: 39 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,44 @@ dependencies = [
'universal_pathlib>=0.2.0'
]

[project.optional-dependencies]
test = [
"coverage",
"pytest",
"pytest-cov",
"msgpack",
"lmdb",
"s3fs",
"pytest-asyncio",
"moto[s3]",
"flask-cors",
"flask",
"requests",
"mypy",
"hypothesis"
]

[tool.maturin]
module-name = "zarrs_python.zarrs_python_internal"
features = ["pyo3/extension-module"]
features = ["pyo3/extension-module"]


[tool.pytest.ini_options]
minversion = "7"
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true
asyncio_mode = "auto"
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"ELLIPSIS",
"IGNORE_EXCEPTION_DETAIL",
]
addopts = [
"--durations=10", "-ra", "--strict-config", "--strict-markers",
]
filterwarnings = [
"error:::zarr.*",
"ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning",
"ignore:The loop argument is deprecated since Python 3.8.*:DeprecationWarning",
]
2 changes: 1 addition & 1 deletion zarrs_python

0 comments on commit 06be9e4

Please sign in to comment.