Skip to content

Commit 779a9df

Browse files
authored
Merge pull request #1232 from kunal-10-cloud/pytest-config-pyproject
Add pytest configuration to pyproject.toml
2 parents fed6010 + b2725fe commit 779a9df

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,18 @@ ignore_missing_imports = true
114114
[[tool.mypy.overrides]]
115115
module = ["bokeh", "bokeh.*"]
116116
follow_imports = "skip"
117+
118+
[tool.pytest.ini_options]
119+
testpaths = ["tests"]
120+
python_files = ["test_*.py"]
121+
python_classes = ["Test*"]
122+
python_functions = ["test_*"]
123+
norecursedirs = [".git", ".venv", "venv", "*.egg-info", "build", "dist"]
124+
addopts = "--tb=short --ignore=tests/integration"
125+
filterwarnings = [
126+
"ignore::DeprecationWarning:numpy",
127+
"ignore::DeprecationWarning:dask",
128+
"ignore::PendingDeprecationWarning:numcodecs",
129+
"ignore::UserWarning:zarr",
130+
"ignore::DeprecationWarning:pandas",
131+
]

0 commit comments

Comments
 (0)