Skip to content

Commit

Permalink
Move pytest ini to pyproject, add ignore for remaining emitted Resour…
Browse files Browse the repository at this point in the history
…ceWarning
  • Loading branch information
charlesbluca committed Jan 23, 2024
1 parent 38107e7 commit d09ba6f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,18 @@ locked = true

[tool.isort]
profile = "black"

[tool.pytest.ini_options]
markers = [
"gpu: marks tests that require GPUs (skipped by default, run with --rungpu)",
"queries: marks tests that run test queries (skipped by default, run with --runqueries)",
]
addopts = "-v -rsxfE --color=yes --cov dask_sql --cov-config=.coveragerc --cov-report=term-missing"
filterwarnings = [
"error:::dask_sql[.*]",
"error:::dask[.*]",
"ignore:Need to do a cross-join:ResourceWarning:dask_sql[.*]",
"ignore:Dask doesn't support Dask frames:ResourceWarning:dask_sql[.*]",
"ignore:Running on a single-machine scheduler:UserWarning:dask[.*]",
]
xfail_strict = true
16 changes: 0 additions & 16 deletions pytest.ini

This file was deleted.

0 comments on commit d09ba6f

Please sign in to comment.